XRPRangefinder

class xrp.XRPRangefinder

Bases: pybind11_object

This class represents the reflectance sensor pair on the XRP robot.

getDistance() wpimath.units.meters

Return the measured distance in meters. Distances further than 4 meters will be reported as 4 meters.