Copy over 2014 bot code to the directory.
This is purely for the code review process. It does not compile.
Change-Id: I7617d245891b3218a98d3b21a3492763e22e0f88
diff --git a/y2014_bot3/control_loops/rollers/rollers.q b/y2014_bot3/control_loops/rollers/rollers.q
new file mode 100644
index 0000000..5abb488
--- /dev/null
+++ b/y2014_bot3/control_loops/rollers/rollers.q
@@ -0,0 +1,40 @@
+package bot3.control_loops;
+
+import "aos/common/controls/control_loops.q";
+
+queue_group Rollers {
+ implements aos.control_loops.ControlLoop;
+
+ message Goal {
+ // -1 = back intake, 1 = front intake, all else = stationary.
+ int16_t intake;
+ // -1 = backwards, 1 = forwards, all else = stationary.
+ int16_t low_spit;
+ // Whether we want the human player load function.
+ bool human_player;
+ };
+
+ message Position {};
+
+ message Output {
+ // Positive voltage = intaking, Negative = spitting.
+ double front_intake_voltage;
+ double back_intake_voltage;
+ // Voltage for the low goal rollers.
+ // Positive voltage = ball towards back, Negative = ball towards front.
+ double low_goal_voltage;
+
+ // Whether the front and back intake pistons are extended.
+ bool front_extended;
+ bool back_extended;
+ };
+
+ message Status {};
+
+ queue Goal goal;
+ queue Position position;
+ queue Output output;
+ queue Status status;
+};
+
+queue_group Rollers rollers;