Package frc.robot.systems.drive
Class GyroIOPigeon2
java.lang.Object
frc.robot.systems.drive.GyroIOPigeon2
- All Implemented Interfaces:
GyroIO
-
Nested Class Summary
Nested classes/interfaces inherited from interface frc.robot.systems.drive.GyroIO
GyroIO.GyroInputs -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidresetGyro(edu.wpi.first.math.geometry.Rotation2d rotation) voidupdateInputs(GyroIO.GyroInputs inputs)
-
Constructor Details
-
GyroIOPigeon2
public GyroIOPigeon2()
-
-
Method Details
-
updateInputs
- Specified by:
updateInputsin interfaceGyroIO
-
resetGyro
public void resetGyro(edu.wpi.first.math.geometry.Rotation2d rotation)
-