Interface for yaw rate gyros.
Definition: Gyro.h:16
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:79
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:26
Definition: AprilTagPoseEstimator.h:15