Add Extend Flatbuffers
Signed-off-by: Mirabel Wang <mirabel.17.wang@gmail.com>
Signed-off-by: Filip Kujawa <filip.j.kujawa@gmail.com>
Change-Id: I71c60a7d3e0018c6669f46d1d14e401e569dc61c
diff --git a/y2024/control_loops/superstructure/superstructure_output.fbs b/y2024/control_loops/superstructure/superstructure_output.fbs
index ddfc5ac..db756b4 100644
--- a/y2024/control_loops/superstructure/superstructure_output.fbs
+++ b/y2024/control_loops/superstructure/superstructure_output.fbs
@@ -29,6 +29,16 @@
// Voltage of the retention rollers
// Positive voltage will hold the game piece in the catapult.
retention_roller_voltage: double (id: 7);
+
+ // Voltage of extend
+ // Positive voltage extends the extend
+ // Negative voltage retracts the extend
+ extend_voltage:double (id: 8);
+
+ // Voltage of the extend rollers
+ // Positive voltage rolls the game piece up towards the scoring mechanisms,
+ // either the catapult or amp/trap mechanism
+ extend_roller_voltage:double (id: 9);
}
root_type Output;