From cb0d5528e6c7f3e87b558d2a66aca939dab25f14 Mon Sep 17 00:00:00 2001 From: aarav18 Date: Fri, 18 Mar 2022 15:43:06 -0600 Subject: [PATCH] smol fix --- src/main/java/frc4388/robot/RobotContainer.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/src/main/java/frc4388/robot/RobotContainer.java b/src/main/java/frc4388/robot/RobotContainer.java index 6f4a969..603bf0e 100644 --- a/src/main/java/frc4388/robot/RobotContainer.java +++ b/src/main/java/frc4388/robot/RobotContainer.java @@ -336,7 +336,7 @@ public class RobotContainer { .whenReleased(new InstantCommand(() -> ExtenderIntakeGroup.setDirectionToOut(), m_robotIntake, m_robotExtender)) .whenReleased(new InstantCommand(() -> m_robotClimber.setEncoders(0), m_robotClimber)); - // new JoystickButton(getButtonBox(), ButtonBox.Button.kMiddleSwitch.value) + new JoystickButton(getButtonBox(), ButtonBox.Button.kMiddleSwitch.value) // .whenPressed(new InstantCommand(() -> m_robotTurret.setDefaultCommand(null))) // .whenPressed(new InstantCommand(() -> m_robotHood.setDefaultCommand(null))) @@ -349,8 +349,8 @@ public class RobotContainer { // .whenReleased(new InstantCommand(() -> m_robotHood.setDefaultCommand( // new RunCommand(() -> m_robotHood.runHood(getOperatorController().getRightY()), m_robotHood)))); - // .whenPressed(new InstantCommand(() -> this.currentMode = CurrentMode.CLIMBER)) - // .whenReleased(new InstantCommand(() -> this.currentMode = CurrentMode.TURRET)); + .whenPressed(new InstantCommand(() -> this.currentMode = Mode.CLIMBER)) + .whenReleased(new InstantCommand(() -> this.currentMode = Mode.SHOOTER)); // .whenReleased(EnableClimber())); // control turret manual mode