Turn to heading
turn_to_headingRotate the robot in place to a specified absolute heading, defined clockwise from its starting orientation. Use heading_deg (0-359) and optional speed_percent.
Instructions
Spin on the spot to face an absolute heading.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"heading_deg": "<heading_deg>"
},
"name": "turn_to_heading"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| heading_deg | Yes | 0 = the way the robot faced when it connected (or at reset_position), clockwise | |
| speed_percent | No | 100% = 180°/s |