robotics-ros2

Develop ROS2 robotic software with rclpy for communication and navigation.

33|6|Updated Mar 17, 2026
One-click install
npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill robotics-ros2
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: robotics-ros2
Source: https://github.com/xjtulyc/awesome-rosetta-skills/tree/main/skills/06-engineering/robotics-ros2
Command: npx skills add https://github.com/xjtulyc/awesome-rosetta-skills --skill robotics-ros2

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill requires rclpy>=1.0, pandas>=2.0, numpy>=1.24, matplotlib>=3.7.

What problem does it solve?

This Skill helps you implement working ROS2 robotics software in Python by wiring together communication (topics, services, actions) and the core robotics plumbing (tf2 transforms and Nav2 navigation) without guessing the correct ROS2 patterns.

Core Features & Use Cases

  • ROS2 node development with rclpy: Create nodes, timers, publishers, and subscribers for real-time robot control loops.
  • Service and action patterns: Implement synchronous request/response (services) and long-running goal execution with feedback (actions).
  • tf2 coordinate transforms and navigation: Broadcast and query transforms and send navigation goals using Nav2 (Nav2 Simple Commander).
  • Sensor-data integration: Subscribe to common message types (e.g., LaserScan, Imu, Odometry) and analyze/visualize measurements to support autonomy.

Quick Start

Use the robotics-ros2 skill to generate a ROS2 rclpy node that publishes cmd_vel, subscribes to odometry, performs tf2 frame lookups, and sends a navigation goal to Nav2.

Frequently Asked Questions about robotics-ros2

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I create a ROS2 node with rclpy for robot control loops?

To create a ROS2 node with rclpy, you instantiate nodes, timers, publishers, and subscribers to wire robot control code into ROS2 communication primitives for real-time publish/subscribe control loops.

How do tf2 frame transformations work in ROS2 navigation?

tf2 frame transformations in ROS2 work by broadcasting and querying coordinate transforms to maintain a transform tree, which is required for Nav2 goal execution and accurate robot navigation.

What is the difference between ROS2 services and actions for robot behaviors?

ROS2 services handle synchronous request/response behaviors, while actions manage long-running goal execution with continuous feedback, both implemented via rclpy for distinct robotic task requirements.

Can I integrate LaserScan and Odometry sensor data in rclpy for autonomy?

Yes, rclpy allows you to subscribe to common ROS2 message types like LaserScan, Imu, and Odometry, enabling you to analyze and visualize sensor measurements to support robot autonomy.

Does this ROS2 rclpy skill support Nav2 Simple Commander?

Yes, this ROS2 rclpy skill supports Nav2 Simple Commander for sending navigation goals, requiring a ROS2 Humble, Iron, or Jazzy environment with Python packages like pandas and numpy for optional analytics.

Why are ROS2 abstractions needed for topics, services, and actions?

ROS2 abstractions for topics, services, and actions are needed to ensure correct message type compatibility and structured communication, preventing guessing when wiring together robotic plumbing and navigation.