4 March 2017
degrees
to radians
.25 March 2016
angles
to degrees
23 March 2016
turn (Commands) | |
---|---|
Type | Corrade progressive command |
Command | turn |
Description | The turn command can be used to turn (yaw) Corrade around. |
Permissions | movement |
Parameters | group , password , direction , radians |
Last Changes | Release 9.158 - changed parameter from degrees to radians . |
The turn
command is meant to turn Corrade around (either with a clockwise (right
) or a counter-clockwise (left
) rotation) given an angle
measured in degrees.
Command | Required Parameters | Required Corrade Permissions | Example |
---|---|---|---|
turn | group , password , direction , radians | movement | llInstantMessage(CORRADE, wasKeyValueEncode( [ // turn Corrade anti-clockwise 45 degrees. "command", "turn", "group", wasURLEscape(GROUP), "password", wasURLEscape(PASSWORD), // Reads as: turn around counter- // clockwise 30 degrees. "direction", "left", "radians", 30 * DEG_TO_RAD ] ) ); |
Parameter | Possible Value | Description |
---|---|---|
direction | left | Direction on which to move (in a local frame). |
right |
||
radians | Radians | The angle in radians to turn Corrade around. |