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.
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 | |||