RobotPy
API Reference
XRPRangefinder
Third Party HW
Bases: pybind11_object
pybind11_object
This class represents the ultrasonic rangefinder on an XRP robot.
Get the measured distance in meters. Distance further than 4m will be reported as 4m.
distance in meters