ros-skill
Controls ROS/ROS2 robots via rosbridge WebSocket CLI. Use when the user asks about ROS topics, services, nodes, parameters, actions, robot movement, sensor data, or any ROS/ROS2 robot interaction.
Why use this skill?
Control your ROS or ROS 2 robots directly through OpenClaw AI. Manage topics, services, actions, and parameters via rosbridge with this powerful robotics integration.
Install via CLI (Recommended)
clawhub install openclaw/skills/skills/lpigeon/ros-skillWhat This Skill Does
The ros-skill enables OpenClaw AI to interface directly with ROS (Robot Operating System) and ROS 2 ecosystems via rosbridge. It transforms your AI agent into a sophisticated robotics controller, capable of querying system status, publishing data to topics, executing service calls, and interacting with high-level action servers. By communicating over a WebSocket interface (:9090), the skill provides a real-time, low-latency bridge that allows the agent to monitor sensor data, adjust navigation parameters, or command robot actuators programmatically.
Installation
- Install the Python dependency on your host machine:
pip install websocket-client. - Ensure the rosbridge suite is installed on your robot using
sudo apt install ros-${ROS_DISTRO}-rosbridge-server. - Launch the bridge:
ros2 launch rosbridge_server rosbridge_websocket_launch.xml(or the equivalent ROS 1 command). - Install the skill via ClawHub:
clawhub install openclaw/skills/skills/lpigeon/ros-skill.
Use Cases
- Autonomous Navigation: Querying robot odometry and diagnostic topics to monitor health.
- Dynamic Configuration: Adjusting parameters on the fly, such as speed limits or sensor detection thresholds.
- Service Execution: Triggering specialized robot functions like docking, re-calibrating IMUs, or toggling grippers.
- Telemetry Monitoring: Subscribing to image or scan data to provide real-time environment status back to the user.
Example Prompts
- "Check the current list of active ROS nodes and tell me if the navigation stack is running."
- "Subscribe to the /cmd_vel topic and verify if the robot is receiving movement commands."
- "Call the /gripper_control service with the parameter set to 'close' to secure the object."
Tips & Limitations
- Connectivity: Always initiate a
connectcommand before performing operations to verify the WebSocket link. - Environment: Ensure your ROS_DISTRO matches the installed packages; the skill supports both ROS 1 and ROS 2, but command syntax may differ for action servers.
- Latency: Because this relies on WebSocket communication, avoid flooding the connection with high-frequency telemetry messages. Use
topics subscribejudiciously to prevent overwhelming the agent's buffer.
Metadata
Not sure this is the right skill?
Describe what you want to build — we'll match you to the best skill from 16,000+ options.
Find the right skillPaste this into your clawhub.json to enable this plugin.
{
"plugins": {
"official-lpigeon-ros-skill": {
"enabled": true,
"auto_update": true
}
}
}Tags(AI)
Flags: network-access, code-execution