This repository was archived by the owner on Jan 10, 2025. It is now read-only.
File tree Expand file tree Collapse file tree 1 file changed +10
-12
lines changed
src/main/java/frc/robot/robot_manager Expand file tree Collapse file tree 1 file changed +10
-12
lines changed Original file line number Diff line number Diff line change 1
1
package frc .robot .robot_manager ;
2
2
3
- import java .sql .Driver ;
4
-
5
3
import dev .doglog .DogLog ;
6
4
import edu .wpi .first .math .MathUtil ;
7
5
import edu .wpi .first .wpilibj .DriverStation ;
@@ -473,11 +471,11 @@ public void waitSpeakerRequest() {
473
471
// INTAKING_FORWARD_PUSH,
474
472
INTAKING ,
475
473
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
+ }
481
479
default -> setStateFromRequest (RobotState .SPEAKER_WAITING );
482
480
}
483
481
}
@@ -582,11 +580,11 @@ public void prepareSpeakerRequest() {
582
580
// INTAKING_FORWARD_PUSH,
583
581
INTAKING ,
584
582
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
+ }
590
588
default -> setStateFromRequest (RobotState .SPEAKER_PREPARE_TO_SCORE );
591
589
}
592
590
}
You can’t perform that action at this time.
0 commit comments