]> git.taranathan.com Git - FRC2026.git/commitdiff
Update PS5ControllerDriverConfig.java
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Thu, 26 Feb 2026 05:43:42 +0000 (21:43 -0800)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Thu, 26 Feb 2026 05:43:42 +0000 (21:43 -0800)
src/main/java/frc/robot/controls/PS5ControllerDriverConfig.java

index ca1f2e4c4f990cbcf17b464c6396df8ab0d5feb0..6366ca05b55f2180e80e8a85b6e76f741574f027 100644 (file)
@@ -112,7 +112,7 @@ public class PS5ControllerDriverConfig extends BaseDriverConfig {
             }, intake));
 
             // Retract if hold for 3 seconds
-            controller.get(PS5Button.RIGHT_TRIGGER).debounce(3.0).onTrue(new InstantCommand(() -> {
+            controller.get(PS5Button.RIGHT_TRIGGER).debounce(2.0).onTrue(new InstantCommand(() -> {
                 intake.retract();
                 intakeBoolean = true;
                 intake.spinStop();