blob: f107c901d957ef5033900920db3cb216a9afb7ff [file] [log] [blame]
Austin Schuh47017412013-03-10 11:50:46 -07001package frc971.autonomous;
2
John Park33858a32018-09-28 23:05:48 -07003import "aos/actions/actions.q";
Philipp Schrader4bd29b12017-02-22 04:42:27 +00004
Austin Schuha250b2d2019-05-27 16:14:02 -07005// Published on ".frc971.autonomous.auto_mode"
Philipp Schrader4bd29b12017-02-22 04:42:27 +00006message AutonomousMode {
7 // Mode read from the mode setting sensors.
8 int32_t mode;
9};
10
Philipp Schrader4bd29b12017-02-22 04:42:27 +000011struct AutonomousActionParams {
12 // The mode from the sensors when auto starts.
13 int32_t mode;
14};
15
16queue_group AutonomousActionQueueGroup {
17 implements aos.common.actions.ActionQueueGroup;
18
19 message Goal {
20 uint32_t run;
21 AutonomousActionParams params;
22 };
23
24 queue Goal goal;
25 queue aos.common.actions.Status status;
26};