Add Transfer Roller Flatbuffers
Change-Id: I9eaeee9539364d58d5001fdd731cdea48659da25
Signed-off-by: Aryan Khanna <aryankhanna0312@gmail.com>
diff --git a/y2024/control_loops/superstructure/superstructure_status.fbs b/y2024/control_loops/superstructure/superstructure_status.fbs
index 82756dd..9084361 100644
--- a/y2024/control_loops/superstructure/superstructure_status.fbs
+++ b/y2024/control_loops/superstructure/superstructure_status.fbs
@@ -21,6 +21,13 @@
altitude_state:frc971.control_loops.PotAndAbsoluteEncoderProfiledJointStatus (id: 2);
}
+// Contains status of transfer rollers
+enum TransferRollerState : ubyte {
+ NONE = 0,
+ TRANSFERING_IN = 1,
+ TRANSFERING_OUT = 2,
+}
+
table Status {
// All subsystems know their location.
zeroed:bool (id: 0);
@@ -33,6 +40,9 @@
// Estimated angle and angular velocitiy of the intake.
intake_pivot_state:frc971.control_loops.PotAndAbsoluteEncoderProfiledJointStatus (id: 3);
+
+ // State of transfer rollers
+ transfer_roller_state:TransferRollerState (id: 4);
}
root_type Status;