]> git.taranathan.com Git - FRC2026.git/commitdiff
reset gyro
authoriefomit <timofei.stem@gmail.com>
Mon, 30 Mar 2026 02:11:39 +0000 (19:11 -0700)
committeriefomit <timofei.stem@gmail.com>
Mon, 30 Mar 2026 02:11:39 +0000 (19:11 -0700)
src/main/java/frc/robot/subsystems/drivetrain/Drivetrain.java

index 4fbaefd10a98c7990100ee560b91f336465c9436..9befad4df3fa980defdf300f7e90daf5f20ef381 100644 (file)
@@ -656,6 +656,7 @@ public class Drivetrain extends SubsystemBase {
         currentHeading = pose.getRotation().getRadians();
         poseEstimator.resetPosition(gyroInputs.yawPosition, getModulePositions(), pose);
         modulePoses.reset();
+        gyroBiasEstimator.reset();
     }
 
     /**