Skip to content

Commit 4da4032

Browse files
committed
add wait command to amp -> integration command bc apparently it never worked
1 parent 58a7ee9 commit 4da4032

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

src/main/java/frc/robot/RobotContainer.java

+4-2
Original file line numberDiff line numberDiff line change
@@ -586,8 +586,10 @@ private void configureBindings() {
586586
Commands.runOnce(() -> intakePivotSubsystem.setPosition(1), intakePivotSubsystem).alongWith(
587587
new IntakeRollerAmpIntakeCommand(intakeRollerSubsystem)).andThen(
588588
new ConditionalCommand(
589-
new IntakeRollerIntakeCommand(intakeRollerSubsystem, lightBarSubsystem).andThen(
590-
new InstantCommand(() -> intakePivotSubsystem.setPosition(0), intakePivotSubsystem)
589+
new WaitCommand(.3).andThen(
590+
new IntakeRollerIntakeCommand(intakeRollerSubsystem, lightBarSubsystem).andThen(
591+
new InstantCommand(() -> intakePivotSubsystem.setPosition(0), intakePivotSubsystem)
592+
)
591593
),
592594

593595
new InstantCommand(

0 commit comments

Comments
 (0)