XRPReflectanceSensor

class xrp.XRPReflectanceSensor

Bases: pybind11_object

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

getLeftReflectanceValue() float

Return the reflectance value of the left sensor. Value ranges from 0.0 (white) to 1.0 (black)

getRightReflectanceValue() float

Return the reflectance value of the right sensor. Value ranges from 0.0 (white) to 1.0 (black)