Climber Messages
Added Climber Messages for the 2020 superstructure.
Change-Id: I1543800a1ab40445b4ec7a3f91dcc57acb20f0c0
diff --git a/y2020/control_loops/superstructure/superstructure_goal.fbs b/y2020/control_loops/superstructure/superstructure_goal.fbs
index c655c82..bade51e 100644
--- a/y2020/control_loops/superstructure/superstructure_goal.fbs
+++ b/y2020/control_loops/superstructure/superstructure_goal.fbs
@@ -20,8 +20,8 @@
// Zero is relative to start.
control_panel:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal;
- //0 = Linkage on sprocket is pointing straight up
- //Positive = forward
+ // 0 = Linkage on sprocket is pointing straight up
+ // Positive = forward
intake:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal;
//Positive is rollers intaking to Washing Machine.
@@ -47,6 +47,9 @@
// Whether the kicker and flywheel should choose a velocity automatically.
shooter_tracking:bool;
+
+ // Positive is deploying climber and to climb; cannot run in reverse
+ climber_winch_voltage:double;
}
root_type Goal;
diff --git a/y2020/control_loops/superstructure/superstructure_output.fbs b/y2020/control_loops/superstructure/superstructure_output.fbs
index 61b4e0a..c14c08f 100644
--- a/y2020/control_loops/superstructure/superstructure_output.fbs
+++ b/y2020/control_loops/superstructure/superstructure_output.fbs
@@ -31,6 +31,9 @@
// Voltage sent to the motor driving the control panel. Positive is counterclockwise from above.
control_panel_voltage:double;
+
+ // Positive is deploying climber and to climb; cannot run in reverse
+ climber_voltage:double;
}
root_type Output;