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

adding a message at the end of a bag file

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

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
2

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

tfoote gravatar image

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

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

edit flag offensive delete link more

Comments

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

Question Tools

Stats

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

Seen: 264 times

Last updated: Jan 14 '13