Skip to content

Commit

Permalink
tiny constant
Browse files Browse the repository at this point in the history
  • Loading branch information
quackitsquinn committed May 13, 2024
1 parent 220173a commit 17264d4
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
3 changes: 3 additions & 0 deletions src/main/java/frc/robot/Constants.java
Original file line number Diff line number Diff line change
Expand Up @@ -133,6 +133,9 @@ public static class Auto {
/** Time in seconds that we wait for PickupFromCenter to end. */
public static final double PICKUP_CENTER_WAIT_TIME = 5.0;

/** Time in seconds that we wait for TaxiLongAuto to end. */
public static final double TAXI_LONG_WAIT_TIME = 2.0;

/** Constants for the DriveToAmpBlue auto */
public static class DriveToAmpBlue {
/** The time for the robot to drive left towards the amp. */
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/commands/auto/TaxiLongAuto.java
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
public class TaxiLongAuto extends ParallelDeadlineGroup {
/** Creates a new TaxiAuto. */
public TaxiLongAuto() {
super(new WaitCommand(2));
super(new WaitCommand(Constants.Auto.TAXI_LONG_WAIT_TIME));
addCommands(
new DriveAutoRobotOriented(
new Translation2d(Constants.Auto.TAXI_AUTO_METERS_PER_SECOND, 0), 0));
Expand Down

0 comments on commit 17264d4

Please sign in to comment.