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

Commit

Permalink
Format with Spotless
Browse files Browse the repository at this point in the history
  • Loading branch information
jonahsnider committed Sep 11, 2023
1 parent 80900a1 commit 557330f
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/main/java/frc/robot/managers/superstructure/States.java
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ public class States {

public static final SuperstructureScoringState CUBE_NODE_LOW_BACK =
new SuperstructureScoringState(Positions.CUBE_NODE_LOW_BACK, IntakeState.OUTTAKE_CUBE);
public static final SuperstructureScoringState CUBE_NODE_LOW_FRONT =
public static final SuperstructureScoringState CUBE_NODE_LOW_FRONT =
new SuperstructureScoringState(Positions.CUBE_NODE_LOW_FRONT, IntakeState.OUTTAKE_CUBE);
public static final SuperstructureScoringState CUBE_NODE_MID =
new SuperstructureScoringState(Positions.CUBE_NODE_MID, IntakeState.OUTTAKE_CUBE);
Expand All @@ -34,7 +34,7 @@ public class States {

public static final SuperstructureScoringState CONE_NODE_LOW_BACK =
new SuperstructureScoringState(Positions.CONE_NODE_LOW_BACK, IntakeState.OUTTAKE_CONE);
public static final SuperstructureScoringState CONE_NODE_LOW_FRONT =
public static final SuperstructureScoringState CONE_NODE_LOW_FRONT =
new SuperstructureScoringState(Positions.CONE_NODE_LOW_FRONT, IntakeState.OUTTAKE_CONE);
public static final SuperstructureScoringState CONE_NODE_MID =
new SuperstructureScoringState(Positions.CONE_NODE_MID, IntakeState.OUTTAKE_CONE);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,8 @@ public Command getScoreFinishCommand(NodeHeight height) {
}

public Command yeetConeCommand() {
return Commands.runOnce(() -> (setStateCommand(States.YEET_CONE))).waitUntil(atGoal(States.YEET_CONE)).andThen(setStateCommand(States.STOWED));
return Commands.runOnce(() -> (setStateCommand(States.YEET_CONE)))
.waitUntil(atGoal(States.YEET_CONE))
.andThen(setStateCommand(States.STOWED));
}
}

0 comments on commit 557330f

Please sign in to comment.