66 double GetRate()
const override;
75 void Reset()
override;
94 uint16_t ReadRegister(
int reg);
Definition: Utility.cpp:119
SPI bus interface class.
Definition: SPI.h:32
double GetRate() const override
Return the rate of rotation of the gyro.
Definition: ADXRS450_Gyro.cpp:92
ADXRS450_Gyro()
Gyro constructor on onboard CS0.
Definition: ADXRS450_Gyro.cpp:31
double GetAngle() const override
Return the actual angle in degrees that the robot is currently facing.
Definition: ADXRS450_Gyro.cpp:88
void Reset() override
Reset the gyro.
Definition: ADXRS450_Gyro.cpp:97
GyroBase is the common base class for Gyro implementations such as AnalogGyro.
Definition: GyroBase.h:21
void Calibrate() override
Initialize the gyro.
Definition: ADXRS450_Gyro.cpp:99
Use a rate gyro to return the robots heading relative to a starting position.
Definition: ADXRS450_Gyro.h:29