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

    Understanding ToF data post processing

    Ask your questions right here!
    2
    6
    334
    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.
    • R
      Rowan Dempster
      last edited by 6 Mar 2023, 13:35

      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
      • R
        Rowan Dempster
        last edited by 6 Mar 2023, 21:15

        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
        • C
          Chad Sweet ModalAI Team
          last edited by 6 Mar 2023, 21:22

          yes, that sounds correct

          R 2 Replies Last reply 7 Mar 2023, 13:43 Reply Quote 0
          • R
            Rowan Dempster @Chad Sweet
            last edited by 7 Mar 2023, 13:43

            @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
            • R
              Rowan Dempster @Chad Sweet
              last edited by 7 Mar 2023, 16:03

              @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
              • C
                Chad Sweet ModalAI Team
                last edited by 7 Mar 2023, 16:33

                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
                1 out of 6
                • First post
                  1/6
                  Last post
                Powered by NodeBB | Contributors