34 double get()
const override;
PROS API header provides high-level user functionality.
double get() const override
Get the current rotation in degrees.
RotationSensor(std::uint8_t iport, bool ireversed=false)
A rotation sensor in a V5 port.
double getVelocity() const
Get the current rotational velocity estimate in degrees per second.
double controllerGet() override
Get the sensor value for use in a control loop.
std::int32_t reset() override
Reset the sensor to zero.