Error loading rosbag data in LIDAR LABELER application

1 view (last 30 days)
I have rosbag file containing lidar and camera data and i want to label the lidar data using lidar labeler application but when loading the rosbag file im facing an error " Number of timestamps not equal to number of signals" . Does anyone know what this error means? If so how to rectify it.

Accepted Answer

Bipratim Saha
Bipratim Saha on 29 Dec 2022
Hi Manish,
As per my understanding, you are getting the mentioned error while loading the rosbag data in Lidar Labeler application. Currently, in the Lidar Labeler app we can only import one signal for each session. You can try to modify the timestamp value in the signal as per the number of the frames and check if you are getting the error.
You can try the following:
  1. Define the duration vector in the MATLAB editor as per the number of frames in the rosbag file, say if it has 10 frames, then write "ts = seconds(1:10)"
  2. Go to import in the Lidar Labeler app and then click 'Add point cloud' option
  3. In the ‘Select point cloud’ pop-up window, select ‘From Workspace’ in the timestamp dropdown, wait and select the relevant item from the workspace window
  4. Then browse the file
You can refer to the following documentation on Lidar Labeler for more information: https://www.mathworks.com/help/lidar/ug/lidar-labeler-get-started.html

More Answers (0)

Products


Release

R2022b

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!