tpbot.get distance
Appearance
Measures the distance reported by the TPBot ultrasonic sensor.
Function
Synopsis
tpbot.get_distance()
Arguments
None.
Returns
The distance in millimeters, or nil if no value is available.
Measures the distance reported by the TPBot ultrasonic sensor.
tpbot.get_distance()
None.
The distance in millimeters, or nil if no value is available.