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. ROS2 ToF topic not showing proper data

ROS2 ToF topic not showing proper data

Scheduled Pinned Locked Moved Ask your questions right here!
2 Posts 2 Posters 514 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

      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