Bỏ qua tới nội dung
TakoAPI
Quay lại kỹ năng

ros-skill

bởi lpigeon

Web & Frontend Development
292Lượt tải do clawskills.sh công bố
1Lượt xem
0 lượt thíchĐăng nhập để thích kỹ năng này
—Chưa có đánh giá
Đánh giá của bạn

Tóm tắt

Controls ROS/ROS2 robots via rosbridge WebSocket CLI.

Mô tả

Kỹ năng này làm gì

Controls ROS and ROS2 robots through a rosbridge WebSocket connection using a Python CLI. Supports topics, services, nodes, parameters, and actions. All output is JSON.

Lets an agent interact with any ROS/ROS2 robot without needing a native ROS install on the agent host, only rosbridge on the robot side.

Khi nào nên dùng

  • Move a robot forward and stop it after a set duration
  • Subscribe to laser scan data from a sensor
  • Call a ROS service to spawn or reset simulation objects
  • Set ROS2 node parameters at runtime
  • Inspect active topics and nodes on an unfamiliar robot

Quy trình ví dụ

ĐẦU VÀO

User asks: move the robot forward 2 seconds then stop

AGENT
  1. 1

    Connect to rosbridge with ros_cli.py connect

  2. 2

    Check message structure with topics message geometry_msgs/Twist

  3. 3

    Publish a sequence with forward velocity for 2.0s followed by zero velocity for 0.5s using topics publish-sequence

  4. 4

    Verify no error field in JSON output

ĐẦU RA

Robot moves forward for 2 seconds and stops; publish-sequence confirms completion

Yêu cầu

  • rosbridge_server installed and running on the robot (ROS or ROS2)

Cài đặt

clawhub install lpigeon/ros-skill

Chạy lệnh CLI, hoặc dán prompt vào Claude Code, Cursor, Codex hay coding agent bạn đang dùng.

Liên kết