Gazebo rosbag usage

asked 2019-01-21 09:54:48 -0500

Bruno Vieira gravatar image

Dear all,

I have a simulation environment on Gazebo and want to be able to reproduce the behaviour of one robot in different simulations. Already am recording a rosbag while controlling a robot on a first instance simulation.

The goal is to replicate what has been recording exactly, the problem is on how to do it, since RTFactor is not always 1 neither is constant, replaying the bag using [rosbag play -r X] is not a clean option.

Just looked into [rosbag play --clock] but the issue remains the same, both simulation and the bag replay stay unsynchronized...

Any suggestion on how to overcome this?

edit retag flag offensive close merge delete