ModalAI Forum
    • Categories
    • Recent
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Understanding ToF data post processing

    Ask your questions right here!
    2
    6
    333
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • Rowan DempsterR
      Rowan Dempster
      last edited by

      Hi, I've been working with the ToF sensor under version 0.8.1 of the camera server. I understand that there is some post-processing being done on the ToF data, what I am mainly interested in is the logic that throws away some of the data (the zeroed points in the point cloud).

      Looking at the code, is RoyaleDataDone the first function that get's called in ModalAI's codebase, and does all of the post processing happen inside closed source PMD libraries? Or is the mentioned "TOF bridge" that does the post-processing also ModalAI's code that I can look at to understand the post-processing procedure?

      1 Reply Last reply Reply Quote 0
      • Rowan DempsterR
        Rowan Dempster
        last edited by

        After some digging it looks like control passes out of open source at TOFProcessRAW16 and passes back into open source at RoyaleDataDone. In between these calls I assume that "PMD closed source post processing" is being performed which uses anywhere between 5% and 25% of CPU on the VOXL depending on the ToF FPS.

        1 Reply Last reply Reply Quote 0
        • Chad SweetC
          Chad Sweet ModalAI Team
          last edited by

          yes, that sounds correct

          Rowan DempsterR 2 Replies Last reply Reply Quote 0
          • Rowan DempsterR
            Rowan Dempster @Chad Sweet
            last edited by

            @Chad-Sweet Any idea if 25% CPU is the minimum achievable for 30FPS? I want to run the ToF at the highest FPU possible, but using 1/4 of the CPU to process a sensor is prohibitory.

            1 Reply Last reply Reply Quote 0
            • Rowan DempsterR
              Rowan Dempster @Chad Sweet
              last edited by

              @Chad-Sweet Is royale-331-spectre-4-7 - 0.0.3 the latest version of the PMD SDK? If not, is it possible to update to the latest version to get any efficiency improvements released by PMD?

              1 Reply Last reply Reply Quote 0
              • Chad SweetC
                Chad Sweet ModalAI Team
                last edited by

                No, it is not the latest.

                It's a few months of work on our end to update the SDK. We may try it later this year, but no formal plans to do so

                1 Reply Last reply Reply Quote 0
                • First post
                  Last post
                Powered by NodeBB | Contributors