RobotPy
API Reference
XRPRangefinder
Third Party HW
Bases: pybind11_object
pybind11_object
This class represents the reflectance sensor pair on the XRP robot.
Return the measured distance in meters. Distances further than 4 meters will be reported as 4 meters.