Convert joystick readers to ActionJoystickInput
This removes most direct users of the autonomous queues. Convert the
rest over to EventLoops.
Change-Id: I47ac7d5583d597cc9244573d810d512210d1e111
diff --git a/frc971/autonomous/auto.q b/frc971/autonomous/auto.q
index a72514c..f107c90 100644
--- a/frc971/autonomous/auto.q
+++ b/frc971/autonomous/auto.q
@@ -2,20 +2,12 @@
import "aos/actions/actions.q";
-message AutoControl {
- // True if auto mode should be running, false otherwise.
- bool run_auto;
-};
-
-queue AutoControl autonomous;
-
+// Published on ".frc971.autonomous.auto_mode"
message AutonomousMode {
// Mode read from the mode setting sensors.
int32_t mode;
};
-queue AutonomousMode auto_mode;
-
struct AutonomousActionParams {
// The mode from the sensors when auto starts.
int32_t mode;