Comran Morshed | 2f7b467 | 2016-01-23 14:27:34 +0000 | [diff] [blame] | 1 | package y2016.actors; |
| 2 | |
| 3 | import "aos/common/actions/actions.q"; |
| 4 | |
| 5 | // Parameters to send with start. |
| 6 | struct SuperstructureActionParams { |
Diana Vandenberg | 9cc9ab6 | 2016-04-20 21:27:47 -0700 | [diff] [blame] | 7 | double partial_angle; |
| 8 | double delay_time; |
| 9 | double full_angle; |
Austin Schuh | fef64ac | 2016-04-24 19:08:01 -0700 | [diff] [blame^] | 10 | double shooter_angle; |
Comran Morshed | 2f7b467 | 2016-01-23 14:27:34 +0000 | [diff] [blame] | 11 | }; |
| 12 | |
| 13 | queue_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 | |
| 25 | queue_group SuperstructureActionQueueGroup superstructure_action; |