SET RV.MOTORS

Command:

SET RV.MOTORS

Command Syntax:

SET RV.MOTORS

Code
Sample:

Send "SET RV.MOTORS"

 

[SET] RV.MOTORS [LEFT][CW|CCW]

              <pwm value|BRAKE|COAST>

              [RIGHT][CW|CCW]

              <pwm value|BRAKE|COAST>

              [DISTANCE ddd [M|[UNITS]|REV|FT]]

              | [TIME s.ss]

 

Range:

N/A

Describe:

Set left or right or both motor PWM values. Negative values imply CCW and Positive values imply CW. Left CW=backward motion. Left CCW=forward motion. Right CW=forward motion, Right CCW=backward motion. PWM values may be numeric from -255 to +255, or keywords "COAST" or "BRAKE". Value of 0 is stop (coast).

Use of the DISTANCE option is only available if the RV is connected with all sensors. CONNECT RV MOTORS means no sensors are available to measure distance, so the DISTANCE option is an error in this instance.

Result:

Both the LEFT and RIGHT motor, managed as a single object for direct control (advanced) use.

Type or
Addressable Component:

Control

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