blob: 63cbcf0c2540a9a9a734e3814a23aa4c0aad82f0 [file] [log] [blame]
Niko Sohmers3860f8a2024-01-12 21:05:19 -08001include "frc971/control_loops/profiled_subsystem.fbs";
Nathan Leongdd728002024-02-03 15:26:53 -08002include "frc971/control_loops/catapult/catapult_goal.fbs";
Niko Sohmers3860f8a2024-01-12 21:05:19 -08003
4namespace y2024.control_loops.superstructure;
5
Niko Sohmers58e64c82024-01-14 12:49:54 -08006// Represents goal for intake rollers
7enum IntakeRollerGoal : ubyte {
8 NONE = 0,
9 SPIT = 1,
10 INTAKE = 2,
Niko Sohmers3860f8a2024-01-12 21:05:19 -080011}
12
Niko Sohmers58e64c82024-01-14 12:49:54 -080013// Represents goal for pivot on intake
14enum IntakePivotGoal : ubyte {
15 EXTENDED = 0,
Maxwell Hendersonbf04fb62024-01-19 17:56:07 -080016 RETRACTED = 1,
17}
18
Niko Sohmers58e64c82024-01-14 12:49:54 -080019table Goal {
20 intake_roller_goal:IntakeRollerGoal (id: 0);
21 intake_pivot_goal:IntakePivotGoal (id: 1);
Maxwell Hendersonbf04fb62024-01-19 17:56:07 -080022
Nathan Leongdd728002024-02-03 15:26:53 -080023 catapult_goal:frc971.control_loops.catapult.CatapultGoal (id: 2);
Niko Sohmers58e64c82024-01-14 12:49:54 -080024}
Niko Sohmers3860f8a2024-01-12 21:05:19 -080025
26root_type Goal;