ROS 2 Lyrical Luth · Lesson 05 of 8
Launch, rosbag and diagnostics
Start complete systems, record data and investigate runtime behavior.
Estimated time · 45–75 min
Guided lesson
Work through these steps
- 1.
Source the ROS 2 Lyrical environment in a fresh terminal.
- 2.
Run the launch, rosbag and diagnostics inspection commands before creating code.
- 3.
Build only the affected package, then source the workspace overlay.
- 4.
Inspect the ROS graph and verify the result from a second terminal.
Example
Try it yourself
ros2 launch robot_bringup system.launch.py
ros2 bag record /scan /odom
ros2 doctor --reportPractical exercise
Apply the lesson
Create a minimal ROS 2 workspace demonstration for launch, rosbag and diagnostics, then prove it works with the ROS 2 CLI.
Before you continue
- ROS_DISTRO reports lyrical
- The workspace builds without errors
- The expected node, topic, service, or action is visible in the graph