Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 1 | include "frc971/control_loops/profiled_subsystem.fbs"; |
| 2 | |
| 3 | namespace y2024.control_loops.superstructure; |
| 4 | |
Niko Sohmers | 58e64c8 | 2024-01-14 12:49:54 -0800 | [diff] [blame^] | 5 | // Represents goal for intake rollers |
| 6 | enum IntakeRollerGoal : ubyte { |
| 7 | NONE = 0, |
| 8 | SPIT = 1, |
| 9 | INTAKE = 2, |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 10 | } |
| 11 | |
Niko Sohmers | 58e64c8 | 2024-01-14 12:49:54 -0800 | [diff] [blame^] | 12 | // Represents goal for pivot on intake |
| 13 | enum IntakePivotGoal : ubyte { |
| 14 | EXTENDED = 0, |
| 15 | RETRACTED = 1, |
| 16 | } |
| 17 | |
| 18 | table Goal { |
| 19 | intake_roller_goal:IntakeRollerGoal (id: 0); |
| 20 | intake_pivot_goal:IntakePivotGoal (id: 1); |
| 21 | } |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 22 | |
| 23 | root_type Goal; |