[ros-users] rosbag repeat?

Radu Bogdan Rusu rusu at willowgarage.com
Wed Apr 28 23:53:20 UTC 2010


Something as simple as:

while true; do rosplay filename.bag; sleep 0.1; done

works for me.

Cheers,
Radu.

Adam Leeper wrote:
> Hi all-
> 
> Is there a way to get rosbag to play a bag file on loop? It would be 
> handy when testing things to be able to run my collected data continuously.
> 
> Thanks!
> --Adam
> 
> 
> Adam Leeper
> Stanford University
> aleeper at stanford.edu <mailto:aleeper at stanford.edu>
> 719.358.3804
> 
> 
> ------------------------------------------------------------------------
> 
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users

-- 
| Radu Bogdan Rusu | http://rbrusu.com/



More information about the ros-users mailing list