12
12
public record SuperstructureState (
13
13
ArmState armState , IntakeState intakeState , ShooterState shooterState ) {
14
14
15
- public static final SuperstructureState INITIAL =
16
- new SuperstructureState (ArmState .INITIAL , IntakeState .IDLE , ShooterState .IDLE );
17
-
18
15
public static final SuperstructureState STOW =
19
16
new SuperstructureState (ArmState .STOW , IntakeState .IDLE , ShooterState .IDLE );
20
17
@@ -27,50 +24,20 @@ public record SuperstructureState(
27
24
public static final SuperstructureState EJECT =
28
25
new SuperstructureState (ArmState .EJECT , IntakeState .EJECT , ShooterState .EJECT );
29
26
30
- public static final SuperstructureState SUBWOOFER_PULL =
31
- new SuperstructureState (ArmState .SUBWOOFER , IntakeState .IDLE , ShooterState .PULL );
32
-
33
- public static final SuperstructureState SUBWOOFER_READY =
34
- new SuperstructureState (ArmState .SUBWOOFER , IntakeState .IDLE , ShooterState .SPEAKER_READY );
35
-
36
- public static final SuperstructureState SUBWOOFER_SHOOT =
37
- new SuperstructureState (ArmState .SUBWOOFER , IntakeState .IDLE , ShooterState .SPEAKER_SHOOT );
38
-
39
- public static final SuperstructureState PODIUM_PULL =
40
- new SuperstructureState (ArmState .PODIUM , IntakeState .IDLE , ShooterState .PULL );
41
-
42
- public static final SuperstructureState PODIUM_READY =
43
- new SuperstructureState (ArmState .PODIUM , IntakeState .IDLE , ShooterState .PODIUM_READY );
44
-
45
- public static final SuperstructureState PODIUM_SHOOT =
46
- new SuperstructureState (ArmState .PODIUM , IntakeState .IDLE , ShooterState .PODIUM_SHOOT );
47
-
48
- public static final SuperstructureState LOB_PULL =
49
- new SuperstructureState (ArmState .LOB , IntakeState .IDLE , ShooterState .PULL );
50
-
51
- public static final SuperstructureState LOB_READY =
52
- new SuperstructureState (ArmState .LOB , IntakeState .IDLE , ShooterState .LOB_READY );
53
-
54
- public static final SuperstructureState LOB_SHOOT =
55
- new SuperstructureState (ArmState .LOB , IntakeState .IDLE , ShooterState .LOB_SHOOT );
56
-
57
- public static final SuperstructureState SKIM_PULL =
58
- new SuperstructureState (ArmState .SKIM , IntakeState .IDLE , ShooterState .PULL );
59
-
60
- public static final SuperstructureState SKIM_READY =
61
- new SuperstructureState (ArmState .SKIM , IntakeState .IDLE , ShooterState .SKIM_READY );
27
+ public static final SuperstructureState SUBWOOFER =
28
+ new SuperstructureState (ArmState .SUBWOOFER , IntakeState .IDLE , ShooterState .SUBWOOFER );
62
29
63
- public static final SuperstructureState SKIM_SHOOT =
64
- new SuperstructureState (ArmState .SKIM , IntakeState .IDLE , ShooterState .SKIM_SHOOT );
30
+ public static final SuperstructureState PODIUM =
31
+ new SuperstructureState (ArmState .PODIUM , IntakeState .IDLE , ShooterState .PODIUM );
65
32
66
- public static final SuperstructureState AMP_PULL =
67
- new SuperstructureState (ArmState .AMP , IntakeState .IDLE , ShooterState .PULL );
33
+ public static final SuperstructureState LOB =
34
+ new SuperstructureState (ArmState .LOB , IntakeState .IDLE , ShooterState .LOB );
68
35
69
- public static final SuperstructureState AMP_POSITION =
70
- new SuperstructureState (ArmState .AMP , IntakeState .IDLE , ShooterState .IDLE );
36
+ public static final SuperstructureState SKIM =
37
+ new SuperstructureState (ArmState .SKIM , IntakeState .IDLE , ShooterState .SKIM );
71
38
72
- public static final SuperstructureState AMP_SHOOT =
73
- new SuperstructureState (ArmState .AMP , IntakeState .IDLE , ShooterState .AMP_SHOOT );
39
+ public static final SuperstructureState AMP =
40
+ new SuperstructureState (ArmState .AMP , IntakeState .IDLE , ShooterState .AMP );
74
41
75
42
/**
76
43
* Creates a new superstructure state.
0 commit comments