Lab 1: Your First ROS 2 Publisher and Subscriber
Loading personalization panel...
In this lab, you'll create your first ROS 2 publisher and subscriber nodes. This is a fundamental exercise that demonstrates the publish/subscribe communication pattern that forms the backbone of ROS 2.
Learning Objectives​
After completing this lab, you will be able to:
- Create a ROS 2 workspace and package
- Write a simple publisher node that sends messages
- Write a simple subscriber node that receives messages
- Run and test the publisher-subscriber system
- Use ROS 2 tools to monitor the communication