Additional Resources - SFU-MARS/ros2_tutorial GitHub Wiki

Generally useful online tutorials

Rosbags

Rosbags are used to record ROS data.

Basic tutorial | Advanced tutorials | Repo

Tools for working with rosbags (and ROS2 in general)

Recording and playing back data using rosbags and plotjuggler

  1. sudo apt install ros-${ROS_DISTRO}-plotjuggler-ros
  2. Record the desired topics to some output folder: ros2 bag record <topics> -o <output_folder>
  • Example: ros2 bag record /tf /cmd_vel -o test
  • A default file name will be used if the -o option is not used
  • Warning: Using ros2 bag record --all will usually result in gigantic file sizes
  1. ros2 run plotjuggler plotjuggler
  2. Load data or stream from current topics
⚠️ **GitHub.com Fallback** ⚠️