Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • Users
  • Groups
Collapse
Brand Logo

ModalAI Forum

  1. ModalAI Support Forum
  2. Ask your questions right here!
  3. Understanding ToF data post processing

Understanding ToF data post processing

Scheduled Pinned Locked Moved Ask your questions right here!
6 Posts 2 Posters 686 Views 1 Watching
  • 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 Offline
    Rowan DempsterR Offline
    Rowan Dempster
    Regular
    wrote on last edited by
    #1

    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
    0
    • Rowan DempsterR Offline
      Rowan DempsterR Offline
      Rowan Dempster
      Regular
      wrote on last edited by
      #2

      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
      0
      • Chad SweetC Offline
        Chad SweetC Offline
        Chad Sweet
        ModalAI Team
        wrote on last edited by
        #3

        yes, that sounds correct

        Rowan DempsterR 2 Replies Last reply
        0
        • Chad SweetC Chad Sweet

          yes, that sounds correct

          Rowan DempsterR Offline
          Rowan DempsterR Offline
          Rowan Dempster
          Regular
          wrote on last edited by
          #4

          @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
          0
          • Chad SweetC Chad Sweet

            yes, that sounds correct

            Rowan DempsterR Offline
            Rowan DempsterR Offline
            Rowan Dempster
            Regular
            wrote on last edited by
            #5

            @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
            0
            • Chad SweetC Offline
              Chad SweetC Offline
              Chad Sweet
              ModalAI Team
              wrote on last edited by
              #6

              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
              0

              Hello! It looks like you're interested in this conversation, but you don't have an account yet.

              Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.

              With your input, this post could be even better 💗

              Register Login
              Reply
              • Reply as topic
              Log in to reply
              • Oldest to Newest
              • Newest to Oldest
              • Most Votes


              ModalAI
              Categories Recent Tags ModalAI.com Docs
              © 2026 ModalAI® · Accelerating autonomy for smaller, smarter, safer drones · Powered by NodeBB
              • Login

              • Don't have an account? Register

              • Login or register to search.
              • First post
                Last post
              0
              • Categories
              • Recent
              • Tags
              • Popular
              • Users
              • Groups