Unit 04 · overview
Unit 4 — Topics and Messages
Nodes are useful because they can exchange information.
Topics are ROS 2's publish/subscribe path for data that can continue to arrive over time.
PUBLISHER NODE
↓ publishes typed messages
/topic
↓ delivers matching type
SUBSCRIBER NODE
Lessons
- Streaming Data: Why Topics Exist
- List Topics and Their Types
- Echo Live Messages
- Inspect Topic Endpoints
- Read Message Interfaces
- Publish From the Command Line
- Diagnose Topic Failures
- Unit Mission: Command Turtlesim With Evidence
Unit artifact
A publisher-topic-subscriber trace that proves which node publishes, which node subscribes, which message type is used, what the message structure contains, and what happens when you publish a valid command yourself.
Source attribution: adapted from the ROS 2 Jazzy topic tutorial in Gh0stlyKn1ght/ros2_documentation, CC BY 4.0.