Control Unitree G1 robot arm actions — list, execute by ID, or execute by name via g1_arm_action.(控制机器人手臂动作 — 通过 g1_arm_action 列出动作、按 ID 执行或按名称执行。)
Control robot's arm actions.
BEFORE executing any motion-related command:
1. Run: curl -s http://localhost:18790/api/home/status | jq '.data.available | any(. == "运动")'
2. If the output is false: STOP and tell the user "Motion mode is not enabled"
4. If found: Proceed with the motion command
DO NOT skip this check. DO NOT execute motion commands without verification.
| Action | Method | Endpoint | Body |
|---|---|---|---|
| List available actions | g1_arm_action -l | — | — |
| Execute action by ID | g1_arm_action -i <action_id> | — | — |
| Execute action by name | g1_arm_action --name <action_name> | — | — |
g1_arm_action -l
Shows all available arm actions with their IDs and names.
g1_arm_action -i <action_id>
Execute a predefined action by its numeric ID. Use -l first to discover available IDs.
g1_arm_action --name <action_name>
Execute a complex action by its name. Use -l first to discover available names.
g1_arm_action -l to check available actions before executing.-i <action_id> for simple predefined actions.--name <action_name> for complex or composite actions.robot-grasp skill.