12 #include "frc/GyroBase.h"
69 double GetRate()
const override;
78 void Reset()
override;
97 uint16_t ReadRegister(
int reg);
WPILib FRC namespace.
Definition: SPIAccelerometerSim.h:18
double GetRate() const override
Return the rate of rotation of the gyro.
SPI bus interface class.
Definition: SPI.h:31
void Calibrate() override
Initialize the gyro.
ADXRS450_Gyro()
Gyro constructor on onboard CS0.
GyroBase is the common base class for Gyro implementations such as AnalogGyro.
Definition: GyroBase.h:21
double GetAngle() const override
Return the actual angle in degrees that the robot is currently facing.
void Reset() override
Reset the gyro.
Use a rate gyro to return the robots heading relative to a starting position.
Definition: ADXRS450_Gyro.h:29