]> git.taranathan.com Git - FRC2026.git/commitdiff
Update PS5ControllerDriverConfig.java
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Fri, 27 Feb 2026 23:35:51 +0000 (15:35 -0800)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Fri, 27 Feb 2026 23:35:51 +0000 (15:35 -0800)
src/main/java/frc/robot/controls/PS5ControllerDriverConfig.java

index 7818fa76399f103b7750298f99b37eda04bb1344..7c7e9bfc477af87a92d19bab5030e4ee8efdaae8 100644 (file)
@@ -183,7 +183,7 @@ public class PS5ControllerDriverConfig extends BaseDriverConfig {
             // }));
 
             // Set the hood down -- for safety measures under trench
-            controller.get(DPad.RIGHT).whileTrue(new InstantCommand(()->{
+            controller.get(DPad.LEFT).whileTrue(new InstantCommand(()->{
                 hood.setFieldRelativeTarget(Rotation2d.fromDegrees(HoodConstants.MAX_ANGLE), 0.0);
             }, hood));
         }