Maxwell Henderson | ad31234 | 2023-01-10 12:07:47 -0800 | [diff] [blame] | 1 | include "frc971/control_loops/profiled_subsystem.fbs"; |
| 2 | |
| 3 | namespace y2023.control_loops.superstructure; |
| 4 | |
| 5 | |
| 6 | table Goal { |
Nikita Narang | 27610fc | 2023-02-08 19:40:31 -0800 | [diff] [blame] | 7 | // 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-u | 01bbcf2 | 2023-02-20 18:00:28 -0800 | [diff] [blame] | 11 | // 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 Narang | 27610fc | 2023-02-08 19:40:31 -0800 | [diff] [blame] | 15 | |
| 16 | // If this is true, the rollers should intake. |
milind-u | 01bbcf2 | 2023-02-20 18:00:28 -0800 | [diff] [blame] | 17 | intake:bool (id: 3); |
Nikita Narang | 27610fc | 2023-02-08 19:40:31 -0800 | [diff] [blame] | 18 | |
| 19 | // If this is true, the rollers should spit. |
milind-u | 01bbcf2 | 2023-02-20 18:00:28 -0800 | [diff] [blame] | 20 | spit:bool (id: 4); |
Maxwell Henderson | ad31234 | 2023-01-10 12:07:47 -0800 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | |
| 24 | |
| 25 | root_type Goal; |