rclpyEasy Playground

Python client for ROS 2

Getting started with rclpyRun locally
Install
sudo apt install ros-humble-rclpy # or via ROS 2 install
Python CodeRun locally
Expected Output
# Expected output shown below
# (Run locally with: rclpy)

rclpy is a third-party package. Python client for ROS 2. Install with: sudo apt install ros-humble-rclpy # or via ROS 2 install

Challenge

Try modifying the code above to explore different behaviors. Can you extend the example to handle a new use case?