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 | |
| 11 | wrist:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal (id: 1); |
| 12 | |
| 13 | // If this is true, the rollers should intake. |
| 14 | intake:bool (id: 2); |
| 15 | |
| 16 | // If this is true, the rollers should spit. |
| 17 | spit:bool (id: 3); |
Maxwell Henderson | ad31234 | 2023-01-10 12:07:47 -0800 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | |
| 21 | |
| 22 | root_type Goal; |