Skip to content

Commit

Permalink
outtake to left trigger auto align lb
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchen20 committed Sep 3, 2024
1 parent f4ec89e commit 3b0d3e6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -620,8 +620,8 @@ private void testControls() {
new InstantCommand(() -> shooter.stopFeeders()))
.andThen(new PositionNoteInFeeder(shooter, intake))));

driveLeftBumper.whileTrue(new PivotIntakeTele(pivot, intake, shooter, led, true, false));
driveLeftBumper.onFalse(
driveLeftTrigger.whileTrue(new PivotIntakeTele(pivot, intake, shooter, led, true, false));
driveLeftTrigger.onFalse(
new InstantCommand(intake::stopRollers)
.andThen(new InstantCommand(() -> shooter.stopFeeders())));

Expand Down

0 comments on commit 3b0d3e6

Please sign in to comment.