Skip to content

Commit

Permalink
add wait command to amp -> integration command bc apparently it never…
Browse files Browse the repository at this point in the history
… worked
  • Loading branch information
CrolineCrois committed Sep 19, 2024
1 parent 58a7ee9 commit 4da4032
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -586,8 +586,10 @@ private void configureBindings() {
Commands.runOnce(() -> intakePivotSubsystem.setPosition(1), intakePivotSubsystem).alongWith(
new IntakeRollerAmpIntakeCommand(intakeRollerSubsystem)).andThen(
new ConditionalCommand(
new IntakeRollerIntakeCommand(intakeRollerSubsystem, lightBarSubsystem).andThen(
new InstantCommand(() -> intakePivotSubsystem.setPosition(0), intakePivotSubsystem)
new WaitCommand(.3).andThen(
new IntakeRollerIntakeCommand(intakeRollerSubsystem, lightBarSubsystem).andThen(
new InstantCommand(() -> intakePivotSubsystem.setPosition(0), intakePivotSubsystem)
)
),

new InstantCommand(
Expand Down

0 comments on commit 4da4032

Please sign in to comment.