RV TO POLAR

Command:

RV TO POLAR

Command Syntax:

RV TO POLAR R-coordinate Theta-coordinate [[DEGREES]|RADIANS|GRADS] [[SPEED] s.ss [UNIT/S]|M/S|REV/S] [XYLINE]

Code
Sample:

Send("RV TO POLAR 5 30") - r = 5 units, theta = 30 degrees

Send("RV TO POLAR 5 2 RADIANS")

Send("RV TO POLAR eval(sqrt(3^2+4^2)) eval(tan-1(4/3) DEGREES ")

Range:

Theta-coordinate: -360 to +360 degrees

R-coordinate: -327 to +327

Describe:

Moves the RV from its current position to the specified polar position relative to that position.

The RV's X/Y position will be updated to reflect the new position.

The “r” coordinate matches the current grid size (default: 0.1 M/grid unit).

Default location at start of program execution is (0,0) with Rover facing the positive x-axis.

Default unit of theta is Degrees.

The speed parameter is optional.

Result:

Moves Rover from current grid location to the specified grid location.

Type or
Addressable Component:

Control

Note: This Rover control command is sent and executed in a queue.