RV.RANGER

Command:

RV.RANGER

Command Syntax:

RV.RANGER

Code
Sample:

Send("READ RV.RANGER")

Get(R)

 

Connects the Rover Vehicle to the TI-Innovator™ Hub. This establishes connections with the motor driver, color sensor, gyroscope, ultrasonic ranger, and proximity sensors.

CONNECT RV

Returns the current distance from the front of the RV to an obstacle. If there is no obstacle detected, a range of 10.00 meters is reported

READ RV.RANGER

Get(R)

 

Range:

N/A

Describe:

The front-facing ultrasonic distance sensor. Returns measurements in meters. ~10.00 meters means no obstacle was detected.

 

Result:

Returns value in Meters.

Type or
Addressable Component:

Sensor

Note: This Rover sensor command is executed immediately.

 

READ RV.RANGER TIME

Command:

READ RV.RANGER TIME

Command
Syntax:

READ RV.RANGER TIME

Range:

 

Describe:

Additional functionality for RV.RANGER - to return time of flight instead of distance.

The value is in seconds. And it is the round trip time for the signal.

Result:

Retrieves the time-of-flight data readings for the RANGER on TI-Innovator™ Rover.

Type or
Addressable
Component:

Sensor