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