Maxwell Henderson | ad31234 | 2023-01-10 12:07:47 -0800 | [diff] [blame] | 1 | include "frc971/control_loops/control_loops.fbs"; |
| 2 | include "frc971/control_loops/profiled_subsystem.fbs"; |
| 3 | |
| 4 | namespace y2023.control_loops.superstructure; |
| 5 | |
| 6 | |
| 7 | table Status { |
| 8 | // All subsystems know their location. |
| 9 | zeroed:bool (id: 0); |
| 10 | |
| 11 | // If true, we have aborted. This is the or of all subsystem estops. |
| 12 | estopped:bool (id: 1); |
Nikita Narang | 27610fc | 2023-02-08 19:40:31 -0800 | [diff] [blame] | 13 | |
| 14 | proximal:frc971.PotAndAbsoluteEncoderEstimatorState (id: 2); |
| 15 | |
| 16 | distal:frc971.PotAndAbsoluteEncoderEstimatorState (id: 3); |
| 17 | |
| 18 | roll_joint:frc971.PotAndAbsoluteEncoderEstimatorState (id: 4); |
| 19 | |
| 20 | wrist:frc971.control_loops.PotAndAbsoluteEncoderProfiledJointStatus (id: 5); |
Maxwell Henderson | ad31234 | 2023-01-10 12:07:47 -0800 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | root_type Status; |