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

Where do I get internal structure of rosbag file?

asked 2019-12-05 01:29:57 -0500

prajyot gravatar image

updated 2019-12-05 03:43:04 -0500

gvdhoorn gravatar image

Hi all, I want know about data structure of ros bag file because I want to parse ros bag file on non ros system using c++ language. If any one know please help me.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-12-05 03:40:23 -0500

gvdhoorn gravatar image

updated 2019-12-05 03:42:57 -0500

The format is documented here: wiki/Bags/Format/2.0.

Instead of writing something from scratch, you may want to look at something like ros/ros_comm/tools/rosbag_storage, which is the C++ library underlying the rosbag set of tools.

It does have some dependencies on other pieces of ROS, but those could potentially be removed.

See also #q267309 for a previous Q&A about this topic.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-12-05 01:29:57 -0500

Seen: 340 times

Last updated: Dec 05 '19