]> git.taranathan.com Git - FRC2026.git/commitdiff
Update Hood.java
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 21 Feb 2026 20:30:54 +0000 (12:30 -0800)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 21 Feb 2026 20:30:54 +0000 (12:30 -0800)
src/main/java/frc/robot/subsystems/hood/Hood.java

index d8b70872143113b988fe28aee1e6df23d134cab8..e1b75c8a9ee1f79d3d4d3d87e11eb937a5a968d9 100644 (file)
@@ -139,6 +139,7 @@ public class Hood extends SubsystemBase implements HoodIO{
                if (calibrated){
                        calibrating = false;
                        motor.setPosition(Units.degreesToRotations(HoodConstants.MAX_ANGLE) * HoodConstants.HOOD_GEAR_RATIO);
+                       setCurrentLimits(HoodConstants.NORMAL_CURRENT_LIMIT);
                }
        }