Skip to content

Commit

Permalink
pull back logic on manual intake
Browse files Browse the repository at this point in the history
  • Loading branch information
davidchen20 committed Apr 11, 2024
1 parent 83bf25f commit 1720c9e
Showing 1 changed file with 3 additions and 4 deletions.
7 changes: 3 additions & 4 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -595,9 +595,9 @@ private void driverControls() {
new InstantCommand(() -> shooter.setFeedersRPM(500))
.andThen(
new ConditionalCommand(
new WaitCommand(0.15),
new WaitCommand(0.05),
() -> (shooter.seesNote() == NoteState.CURRENT)))
new WaitCommand(0.24),
new WaitCommand(0.06),
() -> (shooter.getLastNoteState() == NoteState.CURRENT)))
.andThen(
new ParallelCommandGroup(
new InstantCommand(() -> intake.stopRollers(), intake),
Expand Down Expand Up @@ -637,7 +637,6 @@ private void driverControls() {
.rightBumper()
.onFalse(
new InstantCommand(() -> shooter.setFeedersRPM(500))
.andThen(new WaitCommand(0.04))
.andThen(
new ConditionalCommand(
new WaitCommand(0.24),
Expand Down

0 comments on commit 1720c9e

Please sign in to comment.