blob: 936cbee0e5454880ddc659974b81778316b54f98 [file] [log] [blame]
Maxwell Hendersonad312342023-01-10 12:07:47 -08001include "frc971/control_loops/profiled_subsystem.fbs";
2
3namespace y2023.control_loops.superstructure;
4
5
6table Goal {
Nikita Narang27610fc2023-02-08 19:40:31 -08007 // Used to identify a position in the planned set of positions on the arm.
8 // Controls distal, proximal, and roll joints
9 arm_goal_position:uint32 (id: 0);
10
milind-u01bbcf22023-02-20 18:00:28 -080011 // Overrides the current path to go to the next path
12 trajectory_override:bool (id: 1);
13
14 wrist:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal (id: 2);
Nikita Narang27610fc2023-02-08 19:40:31 -080015
16 // If this is true, the rollers should intake.
milind-u01bbcf22023-02-20 18:00:28 -080017 intake:bool (id: 3);
Nikita Narang27610fc2023-02-08 19:40:31 -080018
19 // If this is true, the rollers should spit.
milind-u01bbcf22023-02-20 18:00:28 -080020 spit:bool (id: 4);
Maxwell Hendersonad312342023-01-10 12:07:47 -080021}
22
23
24
25root_type Goal;