19 "This interface is being removed with no replacement.")]]
Gyro {
83 return units::degree_t{-GetAngle()};
Interface for yaw rate gyros.
Definition: Gyro.h:19
virtual double GetRate() const =0
Return the rate of rotation of the gyro.
virtual double GetAngle() const =0
Return the heading of the robot in degrees.
virtual void Calibrate()=0
Calibrate the gyro.
Gyro & operator=(Gyro &&)=default
virtual Rotation2d GetRotation2d() const
Return the heading of the robot as a Rotation2d.
Definition: Gyro.h:82
virtual void Reset()=0
Reset the gyro.
A rotation in a 2D coordinate frame represented by a point on the unit circle (cosine and sine).
Definition: Rotation2d.h:23
Definition: AprilTagPoseEstimator.h:15