Skip to content

Commit

Permalink
Fix this
Browse files Browse the repository at this point in the history
  • Loading branch information
camearle20 committed Mar 9, 2024
1 parent 9c963e0 commit 05a55ba
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -310,6 +310,7 @@ public RobotContainer() {
< Units.feetToMeters(25.0)
&& rollers.getGamepieceState() == GamepieceState.SHOOTER_STAGED
&& superstructure.getCurrentGoal() != Superstructure.Goal.PREPARE_CLIMB
&& superstructure.getCurrentGoal() != Superstructure.Goal.PREPARE_PREPARE_TRAP_CLIMB
&& superstructure.getCurrentGoal() != Superstructure.Goal.CLIMB
&& superstructure.getCurrentGoal() != Superstructure.Goal.TRAP
&& superstructure.getCurrentGoal() != Superstructure.Goal.CANCEL_PREPARE_CLIMB
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ public class Backpack extends GenericRollerSystem<Backpack.Goal> {
public enum Goal implements VoltageGoal {
IDLING(() -> 0),
AMP_SCORING(new LoggedTunableNumber("Backpack/AmpScoringVoltage", 12.0)),
TRAP_SCORING(new LoggedTunableNumber("Backpack/TrapScoringVoltage", 2.0)),
TRAP_SCORING(new LoggedTunableNumber("Backpack/TrapScoringVoltage", 8.0)),
EJECTING(new LoggedTunableNumber("Backpack/EjectingVoltage", -12.0));

private final DoubleSupplier voltageSupplier;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,7 @@ public void periodic() {

// Retract climber
if (!climber.retracted()
&& desiredGoal != Goal.PREPARE_PREPARE_TRAP_CLIMB
&& desiredGoal != Goal.PREPARE_CLIMB
&& desiredGoal != Goal.CLIMB
&& desiredGoal != Goal.TRAP
Expand Down

0 comments on commit 05a55ba

Please sign in to comment.