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

ModalAI Forum

  1. ModalAI Support Forum
  2. General Questions
  3. ROS2 ToF topic not showing proper data

ROS2 ToF topic not showing proper data

Scheduled Pinned Locked Moved Unsolved General Questions
2 Posts 2 Posters 552 Views
  • 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.
  • U Offline
    U Offline
    user1243
    wrote on last edited by
    #1

    Hi I'm using a Starling 2 Max with a ToF sensor. I am using voxl-suite 1.3.4~beta2 and have the ToF sensor working in the voxl mapper. However, when I echo the ROS2 topic /tof_pc when running the voxl_mpa_to_ros2_node node I don't get proper data. See image below.
    95023e5e-5e8a-4655-bd22-2ff60972c744-image.png
    Has anyone experienced this issue? Should I make the switch to ROS?

    1 Reply Last reply
    0
    • B Offline
      B Offline
      brahim
      Contributor
      wrote on last edited by
      #2

      Please verify the PC data in rviz2. What you see in rviz2 should look exactly alike to what is shown in voxal portal for tof_pc. Note that the point step size is 12. See this guide for more info on pointcloud data message data

      Point cloud data will look very different from image data, since the data field is constructed very different from BGR image formats.

      I have replicated these results in a starling2 as well, with voxl-mpa-to-ros2 dev branch:rospc_.png

      Note that you may need to spin up a static transform to see the pointcloud data in ROS:

      ros2 run tf2_ros static_transform_publisher 0 0 0 0 0 0 map world 
      
      1 Reply Last reply
      0

      Reading along? Create a free ModalAI Forum account to join in.

      With an account you can reply, ask your own question, get an email when a ModalAI engineer answers, and mark the reply that solved it. Your place in each thread is saved between visits.

      Questions about VOXL, Flight Core, ESCs and ModalAI drones are answered here by the engineers who build them.

      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