run_sequence
Execute choreographed motor sequences for actions like drawing a square or waving. Steps run in order with individual safety checks.
Instructions
Execute a choreographed sequence of moves, e.g. to "draw a square" or "wave".
Each step is one of: {"action": "move_to", "motor": "x", "degrees": 90, "speed": 120} {"action": "move_relative", "motor": "y", "degrees": -30} {"action": "trapezoid_move", "motor": "z", "degrees": 45, "duration_s": 1.5} {"action": "home", "motor": "x"} # motor optional -> all {"action": "stop"} # motor optional -> all
Steps run in order; each is individually safety-checked and clamped. Returns the final
state of every motor plus any safety notes that fired. Engine lives in sequencer.py
(pure, unit- and hardware-tested without the MCP SDK).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| steps | Yes |