blob: b4bad2a2d0e9272b387bbd4fc0b8832e0b9b8beb [file] [log] [blame]
milind-u086d7262022-01-19 20:44:18 -08001include "frc971/control_loops/control_loops.fbs";
2include "frc971/control_loops/profiled_subsystem.fbs";
3
4namespace y2022.control_loops.superstructure;
5
6table Status {
7 // All subsystems know their location.
8 zeroed:bool (id: 0);
9
10 // If true, we have aborted. This is the or of all subsystem estops.
11 estopped:bool (id: 1);
Griffin Bui67abb912022-01-22 16:16:21 -080012
Siddhant Kanwar0e37f592022-02-21 19:26:50 -080013 // Subsystem statuses
14 climber:frc971.control_loops.RelativeEncoderProfiledJointStatus (id: 2);
Henry Speiser55aa3ba2022-02-21 23:21:12 -080015
16 // Estimated angles and angular velocities of the intakes.
17 intake_front:frc971.control_loops.PotAndAbsoluteEncoderProfiledJointStatus (id: 3);
18 intake_back:frc971.control_loops.PotAndAbsoluteEncoderProfiledJointStatus (id: 4);
19
20 turret:frc971.control_loops.PotAndAbsoluteEncoderProfiledJointStatus (id: 5);
milind-u086d7262022-01-19 20:44:18 -080021}
22
23root_type Status;