pivot
Rotate a Sphero RVR robot in place by a specified number of degrees, turning right or left without forward motion, using heading control for precise pivoting.
Instructions
Pivot (turn in place) by a specified number of degrees.
Rotates the RVR without forward motion. Uses internal heading control for accurate turning.
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": {
"degrees": "<degrees>"
},
"name": "pivot"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| speed | No | Rotation speed 0-255 (0 = let RVR control rotation speed). | |
| degrees | Yes | Degrees to turn. Positive = turn right (clockwise), negative = turn left (counter-clockwise). |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||