Robotics StackExchange | Archived questions

Extract topic value from .bag file

Hello ROS community,

I am new to this ROS thing, using ROS melodic ditribution. I have been given a .bag file containing data recorded from a lidar. For my work, I need to get the data values (ie the lidar points that were stored) however using rosbag play command isn't giving me the proper value.

How can I get my points please ?

Thanks and regards, Lilia.

Asked by Lilipop on 2023-05-15 06:59:51 UTC

Comments

Answers

There are command line tools for interacting with rosbags as well as python and c++ APIs documented on the rosbag homepage: http://wiki.ros.org/rosbag

Asked by tfoote on 2023-05-15 12:01:12 UTC

Comments

Thanks for the answer ! I got to read my topics simply using a rostopic echo.

Lilia.

Asked by Lilipop on 2023-06-01 03:41:56 UTC