Skip to content

Commit

Permalink
Merge pull request #31 from 2491-NoMythic/Climber-Override
Browse files Browse the repository at this point in the history
Square button now causes the climber to go down
  • Loading branch information
KnightPiscesAugie authored Jan 30, 2024
2 parents 3773281 + 1d7c143 commit 29f9a22
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -43,6 +43,7 @@
import frc.robot.commands.goToPose.GoToAmp;
import frc.robot.commands.goToPose.GoToClimbSpot;
import frc.robot.commands.climber_commands.AutoClimb;
import frc.robot.commands.climber_commands.ClimberPullDown;
import frc.robot.subsystems.DrivetrainSubsystem;
import frc.robot.subsystems.ExampleSubsystem;
import frc.robot.subsystems.Lights;
Expand Down Expand Up @@ -217,7 +218,7 @@ private void configureBindings() {
if(climberExists) {
new Trigger(operatorController::getCrossButton).onTrue(new AutoClimb(climber)).onFalse(new InstantCommand(()-> climber.climberStop()));
new Trigger(operatorController::getTriangleButton).onTrue(new InstantCommand(()-> climber.climberGo(ClimberConstants.CLIMBER_SPEED_UP))).onFalse(new InstantCommand(()-> climber.climberStop()));
new Trigger(operatorController::getCrossButtonPressed).onTrue(new AutoClimb(climber));
new Trigger(operatorController::getSquareButton).onTrue(new ClimberPullDown(climber));
}

// //Intake bindings
Expand Down

0 comments on commit 29f9a22

Please sign in to comment.