Ask Your Question

How to use rosbag play to paly multiple rosbags which are in a folder with a single command ?

asked 2015-08-18 08:21:03 -0600

metalcell gravatar image

I have several rosbags in a folder, and I want to use rosbag play to play them one by one automatically. So what should I do with the name of folder or its path so I can make the use of '' rosbag play'' ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2015-08-18 10:23:26 -0600

NEngelhard gravatar image

Where exactly is your problem? You can just do a

rosbag play *.bag

in your directory.

edit flag offensive delete link more


Thanks. This is exactly what I am looking for.

metalcell gravatar image metalcell  ( 2015-08-20 08:51:53 -0600 )edit

Ubuntu 16.04 + ROS kinetic, not seeing this working.

rocketman_7 gravatar image rocketman_7  ( 2018-02-01 14:09:05 -0600 )edit

Is there a way that I will have input that it is a new file?

Nachum gravatar image Nachum  ( 2021-08-23 03:35:00 -0600 )edit

Your Answer

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

Add Answer

Question Tools

1 follower


Asked: 2015-08-18 08:21:03 -0600

Seen: 4,044 times

Last updated: Aug 18 '15