Ask Your Question
0

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
1

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

Comments

Thanks. This is exactly what I am looking for.

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

Ubuntu 16.04 + ROS kinetic, not seeing this working.

rocketman_7 gravatar imagerocketman_7 ( 2018-02-01 14:09:05 -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

Stats

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

Seen: 1,887 times

Last updated: Aug 18 '15