blob: ff09317e16dc2dfa6f1cab2f1d8ab51f3ce06653 [file] [log] [blame]
Maxwell Hendersonad312342023-01-10 12:07:47 -08001include "frc971/control_loops/control_loops.fbs";
2include "frc971/control_loops/profiled_subsystem.fbs";
3
4namespace y2023.control_loops.superstructure;
5
6
7table 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 Narang27610fc2023-02-08 19:40:31 -080013
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 Hendersonad312342023-01-10 12:07:47 -080021}
22
23root_type Status;