Skip to content

Commit

Permalink
Double press left bumper to start climb sequence
Browse files Browse the repository at this point in the history
  • Loading branch information
suryatho committed Mar 7, 2024
1 parent 21bc153 commit 5434fea
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -583,7 +583,7 @@ private void configureButtonBindings() {
// Climber controls
operator.rightStick().onTrue(Commands.runOnce(() -> trapScoreMode = !trapScoreMode));
operator
.leftBumper()
.leftBumper().doublePress()
.and(() -> trapScoreMode)
.toggleOnTrue(
ClimbingCommands.climbNTrapSequence(
Expand All @@ -598,7 +598,7 @@ private void configureButtonBindings() {
autoDriveDisable)
.withInterruptBehavior(InterruptionBehavior.kCancelIncoming));
operator
.leftBumper()
.leftBumper().doublePress()
.and(() -> !trapScoreMode)
.toggleOnTrue(
ClimbingCommands.simpleClimbSequence(
Expand Down

0 comments on commit 5434fea

Please sign in to comment.