blob: 1b937aab5c5e7fdba88f4cb413a727d49f33ce4d [file] [log] [blame]
Comran Morshed2f7b4672016-01-23 14:27:34 +00001package y2016.actors;
2
John Park33858a32018-09-28 23:05:48 -07003import "aos/actions/actions.q";
Comran Morshed2f7b4672016-01-23 14:27:34 +00004
5// Parameters to send with start.
6struct SuperstructureActionParams {
Diana Vandenberg9cc9ab62016-04-20 21:27:47 -07007 double partial_angle;
8 double delay_time;
9 double full_angle;
Austin Schuhfef64ac2016-04-24 19:08:01 -070010 double shooter_angle;
Comran Morshed2f7b4672016-01-23 14:27:34 +000011};
12
13queue_group SuperstructureActionQueueGroup {
14 implements aos.common.actions.ActionQueueGroup;
15
16 message Goal {
17 uint32_t run;
18 SuperstructureActionParams params;
19 };
20
21 queue Goal goal;
22 queue aos.common.actions.Status status;
23};