Add intake flatbuffers
Signed-off-by: Aryan Khanna <aryankhanna0312@gmail.com>
Change-Id: I518b5e073abb92868b5e7b8a4fe6971e774c8b21
diff --git a/y2024/control_loops/superstructure/superstructure_goal.fbs b/y2024/control_loops/superstructure/superstructure_goal.fbs
index 1c4b3dd..25fc8ca 100644
--- a/y2024/control_loops/superstructure/superstructure_goal.fbs
+++ b/y2024/control_loops/superstructure/superstructure_goal.fbs
@@ -2,8 +2,22 @@
namespace y2024.control_loops.superstructure;
-table Goal {
+// Represents goal for intake rollers
+enum IntakeRollerGoal : ubyte {
+ NONE = 0,
+ SPIT = 1,
+ INTAKE = 2,
}
+// Represents goal for pivot on intake
+enum IntakePivotGoal : ubyte {
+ EXTENDED = 0,
+ RETRACTED = 1,
+}
+
+table Goal {
+ intake_roller_goal:IntakeRollerGoal (id: 0);
+ intake_pivot_goal:IntakePivotGoal (id: 1);
+}
root_type Goal;