返回顶部
s

soarm-control

Control the robotic arm through the OpenClaw SOARM API. Use this skill when reading current joint state, moving by joint angles, moving by XYZ coordinates, or handling SOARM robot-control requests.

作者: admin | 来源: ClawHub
源自
ClawHub
版本
V 1.0.1
安全检测
已通过
374
下载量
2
收藏
概述
安装方式
版本历史

soarm-control

# 🦐 SOARM Control Skill Use the existing SOARM API to control the robotic arm directly. ## ⚙️ Configuration Notes **Default Local Setup (when on same machine):** - API Base URL: `http://127.0.0.1:8000` ## 🔍 Key APIs & Examples ### Read Current State ```bash curl -sS http://127.0.0.1:8000/joints ``` Returns current joint values and XYZ end-effector position. --- ### Move To a Position By Joint Angles ```bash curl -sS -X POST http://127.0.0.1:8000/move/joints \ -H 'Content-Type: application/json' \ -d '{"angles":[0,0,0,0,0,0]}' ``` **Parameter Notes:** - Joints order: `shoulder_pan`, `shoulder_lift`, `elbow_flex`, `wrist_flex`, `wrist_roll`, `gripper` - First 5 joints use **degrees (deg)** - Gripper uses **0-100** range **Fixed Positions:** | Name | shoulder_pan | shoulder_lift | elbow_flex | wrist_flex | wrist_roll | gripper | |---|---:|---:|---:|---:|---:|---:| | `initial` | 0 | -104 | 95 | 65 | -95 | 10 | | `top_down` | 0 | -50 | 30 | 90 | -95 | 70 | **Examples:** Return to `initial`: ```bash curl -sS -X POST http://127.0.0.1:8000/move/joints \ -H 'Content-Type: application/json' \ -d '{"angles":[0,-104,95,65,-95,10]}' ``` Return to `top_down`: ```bash curl -sS -X POST http://127.0.0.1:8000/move/joints \ -H 'Content-Type: application/json' \ -d '{"angles":[0,-50,30,90,-95,70]}' ``` --- ### Move By XYZ Coordinates ```bash curl -sS -X POST http://127.0.0.1:8000/move/xyz \ -H 'Content-Type: application/json' \ -d '{"x":0.2,"y":0.0,"z":0.2}' ``` **Parameter Notes:** - `x`: forward/backward (positive = forward) - `y`: left/right (positive = left) - `z`: up/down (positive = up) - Values in **meters** --- ### Trigger a Pick Task ```bash curl -sS -X POST http://127.0.0.1:8000/pick ``` Returns: - `ok`: true if the task was accepted - `message`: `抓取任务已启动` - Returns HTTP `409` if another pick task is already running --- ## 🐙 Quick Commands I Can Run ### Return to initial position ```bash curl -sS -X POST http://localhost:8000/move/joints \ -H 'Content-Type: application/json' \ -d '{"angles":[0,-104,95,65,-95,10]}' ``` ### Return to top-down position ```bash curl -sS -X POST http://localhost:8000/move/joints \ -H 'Content-Type: application/json' \ -d '{"angles":[0,-50,30,90,-95,70]}' ``` ### Read current position ```bash curl -sS http://localhost:8000/joints ``` --- ## 🛠️ Setup Notes When pairing your SOARM device with OpenClaw: 1. **Organize the skill directory** ```bash ├── references │   └── so101_new_calib.urdf # download from TheRobotStudio ├── scripts │   ├── best.pt # yolo11n model │   ├── control_soarm_joints.py │   ├── move_soarm_to_xyz_pinocchio.py │   ├── read_soarm_joints.py │   ├── soarm_api.py │   └── start_server.sh └── SKILL.md ``` 2. **Perpare lerobot env** 3. **Launch the server** ```bash ~/.openclaw/workspace/skills/soarm-control bash scripts/start_server.sh ``` ---

标签

skill ai

通过对话安装

该技能支持在以下平台通过对话安装:

OpenClaw WorkBuddy QClaw Kimi Claude

方式一:安装 SkillHub 和技能

帮我安装 SkillHub 和 soarm-control-1776207294 技能

方式二:设置 SkillHub 为优先技能安装源

设置 SkillHub 为我的优先技能安装源,然后帮我安装 soarm-control-1776207294 技能

通过命令行安装

skillhub install soarm-control-1776207294

下载 Zip 包

⬇ 下载 soarm-control v1.0.1

文件大小: 13.42 KB | 发布时间: 2026-4-15 10:40

v1.0.1 最新 2026-4-15 10:40
Significant update: Migrated to a new SOARM API-based control system, simplified scripts, and updated documentation.

- Replaced older joint-control scripts with a unified SOARM API approach.
- Added scripts for reading joints, moving by XYZ and joint angles, launching server, and running yolo11n detection.
- Removed legacy scripts for manual control, status reporting, and device enabling/disabling.
- Updated sample calibration data and documentation to reference the new system.
- SKILL.md rewritten for concise, API-focused usage with quick command examples and updated setup steps.

Archiver·手机版·闲社网·闲社论坛·羊毛社区· 多链控股集团有限公司 · 苏ICP备2025199260号-1

Powered by Discuz! X5.0   © 2024-2025 闲社网·线报更新论坛·羊毛分享社区·http://xianshe.com

p2p_official_large
返回顶部