XRPReflectanceSensor
- class xrp.XRPReflectanceSensor
Bases:
pybind11_objectThis class represents the reflectance sensor pair on an XRP robot.
- getLeftReflectanceValue() float
Returns the reflectance value of the left sensor.
- Returns:
value between 0.0 (white) and 1.0 (black).
- getRightReflectanceValue() float
Returns the reflectance value of the right sensor.
- Returns:
value between 0.0 (white) and 1.0 (black).