WPILibC++ 2025.1.1
Loading...
Searching...
No Matches
frc::XRPReflectanceSensor Class Reference

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

#include <frc/xrp/XRPReflectanceSensor.h>

Public Member Functions

double GetLeftReflectanceValue () const
 Returns the reflectance value of the left sensor.
 
double GetRightReflectanceValue () const
 Returns the reflectance value of the right sensor.
 

Detailed Description

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

Member Function Documentation

◆ GetLeftReflectanceValue()

double frc::XRPReflectanceSensor::GetLeftReflectanceValue ( ) const

Returns the reflectance value of the left sensor.

Returns
value between 0.0 (white) and 1.0 (black).

◆ GetRightReflectanceValue()

double frc::XRPReflectanceSensor::GetRightReflectanceValue ( ) const

Returns the reflectance value of the right sensor.

Returns
value between 0.0 (white) and 1.0 (black).

The documentation for this class was generated from the following file: