blob: 231f5e73c3d8320d045373ef3be89d6a40e29bd6 [file] [log] [blame]
Comran Morshed2f7b4672016-01-23 14:27:34 +00001package y2016.actors;
2
3import "aos/common/actions/actions.q";
4
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};
24
25queue_group SuperstructureActionQueueGroup superstructure_action;