Skip to content
This repository was archived by the owner on Jan 10, 2025. It is now read-only.

Commit 11f3bd8

Browse files
committed
format
1 parent d085ab4 commit 11f3bd8

File tree

1 file changed

+10
-12
lines changed

1 file changed

+10
-12
lines changed

src/main/java/frc/robot/robot_manager/RobotManager.java

Lines changed: 10 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,5 @@
11
package frc.robot.robot_manager;
22

3-
import java.sql.Driver;
4-
53
import dev.doglog.DogLog;
64
import edu.wpi.first.math.MathUtil;
75
import edu.wpi.first.wpilibj.DriverStation;
@@ -473,11 +471,11 @@ public void waitSpeakerRequest() {
473471
// INTAKING_FORWARD_PUSH,
474472
INTAKING,
475473
INTAKE_ASSIST -> {
476-
if (DriverStation.isAutonomous()) {
477-
// Bypass intake checks if we're in auto
478-
setStateFromRequest(RobotState.SPEAKER_WAITING);
479-
}
480-
}
474+
if (DriverStation.isAutonomous()) {
475+
// Bypass intake checks if we're in auto
476+
setStateFromRequest(RobotState.SPEAKER_WAITING);
477+
}
478+
}
481479
default -> setStateFromRequest(RobotState.SPEAKER_WAITING);
482480
}
483481
}
@@ -582,11 +580,11 @@ public void prepareSpeakerRequest() {
582580
// INTAKING_FORWARD_PUSH,
583581
INTAKING,
584582
INTAKE_ASSIST -> {
585-
if (DriverStation.isAutonomous()) {
586-
// Bypass intake checks if we're in auto
587-
setStateFromRequest(RobotState.SPEAKER_PREPARE_TO_SCORE);
588-
}
589-
}
583+
if (DriverStation.isAutonomous()) {
584+
// Bypass intake checks if we're in auto
585+
setStateFromRequest(RobotState.SPEAKER_PREPARE_TO_SCORE);
586+
}
587+
}
590588
default -> setStateFromRequest(RobotState.SPEAKER_PREPARE_TO_SCORE);
591589
}
592590
}

0 commit comments

Comments
 (0)