Quick fix

This commit is contained in:
mimigamin
2026-04-02 16:11:47 -06:00
parent 8e6e26f256
commit bf12e9cd7c
+10 -10
View File
@@ -415,17 +415,17 @@ public class RobotContainer {
// m_robotIntake.setMode(IntakeMode.Idle);
// }));
new JoystickButton(getDeadbandedOperatorController(), XboxController.START_BUTTON)
.whileTrue(
new PathPlannerAuto("Right_AutoClimb")
)
.onFalse(new InstantCommand(() -> m_robotSwerveDrive.softStop(), m_robotSwerveDrive));
// new JoystickButton(getDeadbandedOperatorController(), XboxController.START_BUTTON)
// .whileTrue(
// new PathPlannerAuto("Right_AutoClimb")
// )
// .onFalse(new InstantCommand(() -> m_robotSwerveDrive.softStop(), m_robotSwerveDrive));
new JoystickButton(getDeadbandedOperatorController(), XboxController.BACK_BUTTON)
.whileTrue(
new PathPlannerAuto("Left_AutoClimb")
)
.onFalse(new InstantCommand(() -> m_robotSwerveDrive.softStop(), m_robotSwerveDrive));
// new JoystickButton(getDeadbandedOperatorController(), XboxController.BACK_BUTTON)
// .whileTrue(
// new PathPlannerAuto("Left_AutoClimb")
// )
// .onFalse(new InstantCommand(() -> m_robotSwerveDrive.softStop(), m_robotSwerveDrive));
// new JoystickButton(getDeadbandedOperatorController(), XboxController.B_BUTTON)
// .onTrue(new InstantCommand(() -> {