|
LightLib
PROS library for VEX V5: EKF/MCL localization, RAMSETE path following, high-level chassis API
|
#include <continuousRotarySensor.hpp>
Public Member Functions | |
| virtual std::int32_t | reset ()=0 |
| Reset the sensor to zero. | |
Public Member Functions inherited from okapi::RotarySensor | |
| virtual | ~RotarySensor () |
| virtual double | get () const =0 |
| Get the current sensor value. | |
Public Member Functions inherited from okapi::ControllerInput< double > | |
| virtual double | controllerGet ()=0 |
| Get the sensor value for use in a control loop. | |
Definition at line 11 of file continuousRotarySensor.hpp.
|
pure virtual |
Reset the sensor to zero.
1 on success, PROS_ERR on fail Implemented in okapi::ADIEncoder, okapi::ADIGyro, okapi::IMU, okapi::IntegratedEncoder, and okapi::RotationSensor.