Ask Your Question
0

Where do I get internal structure of rosbag file?

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

prajyot gravatar image

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

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 -0600

gvdhoorn gravatar image

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

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

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

2 followers

Stats

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

Seen: 18 times

Last updated: Dec 05 '19