blob: b618c1b883c9d3d9d6cdde63bbadee83ac5667a1 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001include "frc971/control_loops/control_loops.fbs";
2
3namespace y2018.control_loops.superstructure;
4
5table 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
15table 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
39root_type Goal;