blob: ca0d6f57e1b14548a8a6dfaf8bb797714468685c [file] [log] [blame]
Austin Schuh88af0852016-12-04 20:31:32 -08001package y2015.actors;
Austin Schuh6ab08b82015-02-22 21:41:05 -08002
3import "aos/common/actions/actions.q";
4
5// Parameters to send with start.
6struct PickupParams {
7 // Angle to pull in at the top.
8 double pickup_angle;
9 // Angle to start sucking in above.
10 double suck_angle;
11 // Angle to finish sucking at.
12 double suck_angle_finish;
13 // Angle to go to once we get to the top to finish pulling in.
14 double pickup_finish_angle;
15 // Power to pull the bin in at the top.
16 double intake_voltage;
17 // Time to pull the bin in for.
18 double intake_time;
19};
20
21queue_group PickupActionQueueGroup {
22 implements aos.common.actions.ActionQueueGroup;
23
24 message Goal {
25 uint32_t run;
26 PickupParams params;
27 };
28
29 queue Goal goal;
30 queue aos.common.actions.Status status;
31};
32
33queue_group PickupActionQueueGroup pickup_action;