blob: 8f2d5ab300b9e508ac1e8d7fbfa77c1d7bde351a [file] [log] [blame]
Maxwell Hendersonad312342023-01-10 12:07:47 -08001include "frc971/control_loops/profiled_subsystem.fbs";
2
3namespace y2023.control_loops.superstructure;
4
Maxwell Henderson5938a832023-02-23 09:33:15 -08005enum RollerGoal: ubyte {
6 IDLE = 0,
7 INTAKE = 1,
8 SPIT = 2,
9}
Maxwell Hendersonad312342023-01-10 12:07:47 -080010
11table Goal {
Nikita Narang27610fc2023-02-08 19:40:31 -080012 // Used to identify a position in the planned set of positions on the arm.
13 // Controls distal, proximal, and roll joints
14 arm_goal_position:uint32 (id: 0);
15
milind-u01bbcf22023-02-20 18:00:28 -080016 // Overrides the current path to go to the next path
17 trajectory_override:bool (id: 1);
18
19 wrist:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal (id: 2);
Nikita Narang27610fc2023-02-08 19:40:31 -080020
Maxwell Henderson5938a832023-02-23 09:33:15 -080021 roller_goal:RollerGoal (id: 3);
Maxwell Hendersonad312342023-01-10 12:07:47 -080022}
23
24
25
26root_type Goal;