drive
Command an owner-connected robot to move at a set speed and turn rate for up to 5 seconds, then stop automatically. Renew the lease to continue; owner approval may be needed for higher speeds.
Instructions
Drive at a constant speed and turn rate for a bounded time, then stop. Runs on a lease of at most 5 s, then stops by itself. Renew with reins_renew. Some calls need the owner's confirmation; those return pending_confirmation.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| issued_at | No | Optional. Unix time the command was issued; older than 5 s is refused as stale. | |
| duration_s | Yes | How long to drive. (s) | |
| linear_mps | Yes | Forward speed (negative = backward). (m/s) Above 0.35 needs the owner's confirmation. | |
| request_id | No | Optional. A unique id; a repeated id is refused as a replay. | |
| angular_rps | No | Turn rate (positive = left). (rad/s) |