17 virtual ~
Gyro() =
default;
34 virtual void Reset() = 0;
65 virtual double GetRate()
const = 0;
Definition: SPIAccelerometerSim.h:18
virtual double GetAngle() const =0
Return the actual angle in degrees that the robot is currently facing.
virtual void Calibrate()=0
Calibrate the gyro by running for a number of samples and computing the center value.
virtual double GetRate() const =0
Return the rate of rotation of the gyro.
Interface for yaw rate gyros.
Definition: Gyro.h:15
virtual void Reset()=0
Reset the gyro.