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

playback sequence of bag files in order

asked 2014-12-02 13:06:19 -0500

pnyholm gravatar image

I recently created a sequence of large bag files from a single experiment using the chunksize option of rosbag record. Is there a method to play the resulting bag files back to back?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2014-12-02 13:27:21 -0500

bvbdort gravatar image

updated 2014-12-02 13:29:23 -0500

Just adding all bag files in play command should work

rosbag play recorded1.bag recorded2.bag

command plays both bag files one after other, if they are recorded in different time i.e your case.

doc: rosbag play

edit flag offensive delete link more

Comments

Great, I had thought that would play both bags simultaneously but they are in fact consecutive. Thanks so much

pnyholm gravatar image pnyholm  ( 2014-12-02 13:36:38 -0500 )edit

Question Tools

Stats

Asked: 2014-12-02 13:06:19 -0500

Seen: 2,059 times

Last updated: Dec 02 '14