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

adding a message at the end of a bag file

asked 2013-01-10 22:00:21 -0500

ubisum gravatar image

Hello, everyone
Is it possible to add a message at the end of a bag file (the messages is of the same kind of the ones already in the bag)?

thanks for support.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-01-14 09:58:41 -0500

tfoote gravatar image

updated 2013-01-14 09:59:05 -0500

You can modify bag files using the rosbag code API including appending messages.

edit flag offensive delete link more


thanks. my further question is: when a bag, containing messages about more that one topic, is played, how are messages sent? are they sent simply in the order they were recorded or topic by topic?

ubisum gravatar image ubisum  ( 2013-01-15 02:47:43 -0500 )edit

will my added messages be sent as the last one, anyway, since i recorded it at the end?

ubisum gravatar image ubisum  ( 2013-01-15 02:48:56 -0500 )edit

Question Tools


Asked: 2013-01-10 22:00:21 -0500

Seen: 233 times

Last updated: Jan 14 '13