Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame^] | 1 | include "frc971/control_loops/control_loops.fbs"; |
| 2 | |
| 3 | namespace y2018.control_loops.superstructure; |
| 4 | |
| 5 | table IntakeGoal { |
| 6 | roller_voltage:double; |
| 7 | |
| 8 | // Goal angle in radians of the intake. |
| 9 | // Zero radians is where the intake is pointing straight out, with positive |
| 10 | // radians inward towards the cube. |
| 11 | left_intake_angle:double; |
| 12 | right_intake_angle:double; |
| 13 | } |
| 14 | |
| 15 | table Goal { |
| 16 | intake:IntakeGoal; |
| 17 | |
| 18 | // Used to identiy a position in the planned set of positions on the arm. |
| 19 | arm_goal_position:uint; |
| 20 | // If true, start the grab box sequence. |
| 21 | grab_box:bool; |
| 22 | |
| 23 | open_claw:bool; |
| 24 | close_claw:bool; |
| 25 | |
| 26 | deploy_fork:bool; |
| 27 | |
| 28 | hook_release:bool; |
| 29 | |
| 30 | voltage_winch:double; |
| 31 | |
| 32 | open_threshold:double; |
| 33 | |
| 34 | disable_box_correct:bool; |
| 35 | |
| 36 | trajectory_override:bool; |
| 37 | } |
| 38 | |
| 39 | root_type Goal; |