Linear stroke
linearCommand physical hardware to move a stroker to a specified position over a duration. Provide device ID, position (0.0-1.0), and duration in milliseconds.
Instructions
[Hardware control] Forwards a command to physical hardware. Move a stroker to a position over a duration.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| position | Yes | Target position, 0.0-1.0 | |
| device_id | Yes | Device id from list_devices | |
| duration_ms | Yes | Time to reach the position, ms | |
| actuator_index | No | Restrict to one actuator index; omit to drive all matching actuators |