WPILibC++ 2025.1.1
|
This class represents the ultrasonic rangefinder on an XRP robot. More...
#include <frc/xrp/XRPRangefinder.h>
Public Member Functions | |
units::meter_t | GetDistance () const |
Get the measured distance in meters. | |
This class represents the ultrasonic rangefinder on an XRP robot.
units::meter_t frc::XRPRangefinder::GetDistance | ( | ) | const |
Get the measured distance in meters.
Distance further than 4m will be reported as 4m.