Skip to content

Commit

Permalink
Demo changes
Browse files Browse the repository at this point in the history
  • Loading branch information
Nanobot567 committed Dec 7, 2024
1 parent 128524d commit 280d785
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@ public static final class Intake {
public static final double IN = 0;

// In RPS (Spinner Setpoints)
public static final double REVERSE = -3;
public static final double REVERSE = -10;
public static final double ON = 3;

// Erros of Margin
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/manager/Manager.java
Original file line number Diff line number Diff line change
Expand Up @@ -209,7 +209,7 @@ public Manager() {
addTrigger(
ManagerStates.SPINNING_UP,
ManagerStates.SHOOTING,
() -> driverShooterAfterSpinningVal || Constants.controller.getAButtonPressed()
() -> (driverShooterAfterSpinningVal && shooterSubsystem.nearSpeedPoint()) || Constants.controller.getAButtonPressed()
);
addTrigger(ManagerStates.SPINNING_UP, ManagerStates.IDLE, () ->
Constants.controller.getXButtonPressed()
Expand Down

0 comments on commit 280d785

Please sign in to comment.