There is additional functionality for RANGER to return time of flight instead of distance. The RV.RANGER object also supports this new keyword.
Example activity: Calculate the speed of sound by measuring both distance and time.
New option for RANGER command – the TIME parameter.
READ RANGER 1 – current functionality, read distance.
READ RANGER 1 TIME – new option, return time of flight in seconds.
Example: READ RANGER 1 TIME
Command: |
READ RANGER i TIME |
---|---|
Command |
READ RANGER i TIME |
Range: |
|
Describe: |
Additional functionality for 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 specified RANGER. |
Type or |
Sensor |
There is additional functionality for RV.RANGER - to return time of flight instead of distance.
Example: READ RV.RANGER TIME
Command: |
READ RV.RANGER TIME |
---|---|
Command |
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 |
Sensor |