Playing a rosbag - olinrobotics/gravl GitHub Wiki
To play back a rosbag use the following commands:
- Start up roscore:
roscore
- Open a new terminal and set use_sim_time to true:
rosparam set use_sim_time true
- Open a new terminal and start the rosbag:
roscd tractor/
cd bags/
rosbag play -l --clock XXX.bag
- Open a new terminal and start localization:
roslaunch tractor localization.launch