blob: 25fc8ca70026e25922fe86a0a5a284b3817c2974 [file] [log] [blame]
Niko Sohmers3860f8a2024-01-12 21:05:19 -08001include "frc971/control_loops/profiled_subsystem.fbs";
2
3namespace y2024.control_loops.superstructure;
4
Niko Sohmers58e64c82024-01-14 12:49:54 -08005// Represents goal for intake rollers
6enum IntakeRollerGoal : ubyte {
7 NONE = 0,
8 SPIT = 1,
9 INTAKE = 2,
Niko Sohmers3860f8a2024-01-12 21:05:19 -080010}
11
Niko Sohmers58e64c82024-01-14 12:49:54 -080012// Represents goal for pivot on intake
13enum IntakePivotGoal : ubyte {
14 EXTENDED = 0,
15 RETRACTED = 1,
16}
17
18table Goal {
19 intake_roller_goal:IntakeRollerGoal (id: 0);
20 intake_pivot_goal:IntakePivotGoal (id: 1);
21}
Niko Sohmers3860f8a2024-01-12 21:05:19 -080022
23root_type Goal;