Skip to content

Playing a rosbag

Carl Moser edited this page Oct 29, 2017 · 1 revision

To play back a rosbag use the following commands:

  1. Start up roscore:
roscore
  1. Open a new terminal and set use_sim_time to true:
rosparam set use_sim_time true
  1. Open a new terminal and start the rosbag:
roscd tractor/
cd bags/
rosbag play -l --clock XXX.bag
  1. Open a new terminal and start localization:
roslaunch tractor localization.launch
Clone this wiki locally