RoArm-M3
v0.1.1Drive a Waveshare RoArm-M3 robot arm; every motion is checked in MuJoCo before it runs.
These tools were reported by the server itself during our smoke test (tools/list), not copied from the README.
get_state
Tool pose, joint angles, gripper opening, clearance above the table, and whether a motion is running.
get_limits
The safety envelope (reach, height, joint limits, speed). Fixed at startup; no tool can change it.
move_to
Move the tool centre point to (x, y, z) with the given pitch and roll. Returns when the motion ends.
| Parameter | Type | Description |
|---|---|---|
x_mm * | number | |
y_mm * | number | |
z_mm * | number | Height of the tool centre point above the table. |
pitch_deg | number | 0 = tool horizontal, 90 = pointing straight down. |
roll_deg | number | |
speed | number | Fraction of the maximum joint speed. |
move_joints
Move the five arm joints to the given angles in degrees. The gripper keeps its opening.
| Parameter | Type | Description |
|---|---|---|
joints_deg * | array | base, shoulder, elbow, wrist_pitch, wrist_roll |
speed | number | Fraction of the maximum joint speed. |
gripper
Open or close the gripper.
| Parameter | Type | Description |
|---|---|---|
opening * | number | 0 = closed, 1 = fully open. |
speed | number | Fraction of the maximum joint speed. |
rest
Return to the rest pose (arm raised, gripper open).
| Parameter | Type | Description |
|---|---|---|
speed | number | Fraction of the maximum joint speed. |
stop
Halt the running motion at the next waypoint; the arm holds where it is. Software stop only.