ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

Are you asking how to read a bag file in Python/C++? If so, check out the Code API of rosbag.

Alternatively, you could use something like rostopic echo -b BAGNAME -p TOPICS > output.csvto dump the data to a CSV file that you could then parse in code. See rostopic echo documentation.