blob: caa8abf33707d173eda0a329cc31c4a1ebc2223e [file] [log] [blame]
Daniel Pettidfc90ba2015-02-17 21:42:15 -08001package frc971.actors;
2
3import "aos/common/actions/actions.q";
4
Austin Schuhdc171012015-02-22 21:36:55 -08005// Parameters to send with start.
6struct StackParams {
7 // Angle to move the claw to when picking up.
8 double claw_out_angle;
9};
10
Daniel Pettidfc90ba2015-02-17 21:42:15 -080011queue_group StackActionQueueGroup {
12 implements aos.common.actions.ActionQueueGroup;
13
14 message Goal {
15 uint32_t run;
Austin Schuhdc171012015-02-22 21:36:55 -080016 StackParams params;
Daniel Pettidfc90ba2015-02-17 21:42:15 -080017 };
18
19 queue Goal goal;
20 queue aos.common.actions.Status status;
21};
22
23queue_group StackActionQueueGroup stack_action;