Austin Schuh | 80ff2e1 | 2014-03-08 12:06:19 -0800 | [diff] [blame] | 1 | package frc971.actions; |
| 2 | |
Brian Silverman | 2c1e034 | 2014-04-11 16:15:01 -0700 | [diff] [blame^] | 3 | import "frc971/actions/action.q"; |
| 4 | |
Austin Schuh | 80ff2e1 | 2014-03-08 12:06:19 -0800 | [diff] [blame] | 5 | queue_group DrivetrainActionQueueGroup { |
Brian Silverman | 2c1e034 | 2014-04-11 16:15:01 -0700 | [diff] [blame^] | 6 | implements frc971.actions.ActionQueueGroup; |
Austin Schuh | 80ff2e1 | 2014-03-08 12:06:19 -0800 | [diff] [blame] | 7 | |
| 8 | message Goal { |
| 9 | // If true, run this action. If false, cancel the action if it is |
| 10 | // currently running. |
| 11 | bool run; |
| 12 | double left_initial_position; |
| 13 | double right_initial_position; |
| 14 | double y_offset; |
| 15 | double maximum_velocity; |
| 16 | }; |
| 17 | |
| 18 | queue Goal goal; |
Brian Silverman | 2c1e034 | 2014-04-11 16:15:01 -0700 | [diff] [blame^] | 19 | queue frc971.actions.Status status; |
Austin Schuh | 80ff2e1 | 2014-03-08 12:06:19 -0800 | [diff] [blame] | 20 | }; |
| 21 | |
| 22 | queue_group DrivetrainActionQueueGroup drivetrain_action; |