Generate ROS 2 publisher and subscriber code examples for educational content. This skill should be used when creating lessons that teach ROS 2 pub/sub patterns, writing exercises involving topic-based communication, or generating worked examples for rclpy nodes.
$npx -y skills add mjunaidca/robolearn --skill ros2-publisher-subscriberInstalls into the current project.
Run `npx skills use "https://github.com/mjunaidca/robolearn" --skill "mjunaidca/robolearn/ros2-publisher-subscriber"` and follow the generated skill instructions now. Read its complete output, redirecting it to a temporary file first if necessary. Resolve relative paths from the supporting-files directory it provides.
Use the skills in "https://github.com/mjunaidca/robolearn" that are relevant to the current task. Run `npx skills add "https://github.com/mjunaidca/robolearn"` and select the relevant skills, then follow their instructions.