Add shooter flatbuffers
Signed-off-by: Maxwell Henderson <mxwhenderson@gmail.com>
Change-Id: I2e5afb2c8483b15454422fbd664221326f21709c
diff --git a/y2024/control_loops/superstructure/superstructure_status.fbs b/y2024/control_loops/superstructure/superstructure_status.fbs
index 98134bd..82756dd 100644
--- a/y2024/control_loops/superstructure/superstructure_status.fbs
+++ b/y2024/control_loops/superstructure/superstructure_status.fbs
@@ -10,6 +10,17 @@
INTAKING = 2,
}
+table ShooterStatus {
+ // Estimated angle and angular velocitiy of the turret.
+ turret_state:frc971.control_loops.PotAndAbsoluteEncoderProfiledJointStatus (id: 0);
+
+ // Estimated angle and angular velocitiy of the catapult.
+ catapult_state:frc971.control_loops.PotAndAbsoluteEncoderProfiledJointStatus (id: 1);
+
+ // Estimated angle and angular velocitiy of the altitude.
+ altitude_state:frc971.control_loops.PotAndAbsoluteEncoderProfiledJointStatus (id: 2);
+}
+
table Status {
// All subsystems know their location.
zeroed:bool (id: 0);