Skip to content
This repository has been archived by the owner on Nov 13, 2024. It is now read-only.

Commit

Permalink
small intakeNoteSetpoint fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Ernie3 committed Mar 1, 2024
1 parent 0da987a commit 5fbd686
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -200,7 +200,7 @@ private void configureOperatorStickBindings() {
retractIntake.onTrue(new SetIntakeState(IntakeState.kUp));

Trigger intakeNoteSetpoint = new Trigger(() -> operatorStick.intakeNoteSetpoint() && RobotContainer.intake.isIntakeDown());
intakeNoteSetpoint.onTrue(new SetShooterState(ShooterState.kIntake).andThen(new SetArmState(ArmState.kIntake)));
intakeNoteSetpoint.onTrue(new SetShooterState(ShooterState.kIntake).alongWith(new SetArmState(ArmState.kIntake)));

Trigger ampSetpoint = new Trigger(operatorStick::ampSetpoint);
ampSetpoint.onTrue(new SetArmState(ArmState.kAmp).alongWith(new SetShooterState(ShooterState.kAmp)));
Expand Down

0 comments on commit 5fbd686

Please sign in to comment.