blob: d6693cafe9b419f463b32c8efb81fb14a3b4be3a [file] [log] [blame]
Stephan Massaltd021f972020-01-05 20:41:23 -08001include "frc971/control_loops/profiled_subsystem.fbs";
2
3namespace y2020.control_loops.superstructure;
4
5table Goal {
Sabina Davis70d5e912020-01-31 21:10:37 -08006 // Zero is at the horizontal, positive towards the front (meters on the lead screw).
7 hood:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal;
Sabina Davis6b61de32020-02-02 12:42:51 -08008
9 //0 = Linkage on sprocket is pointing straight up
10 //Positive = forward
11 intake:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal;
Tyler Chatow1879acc2020-02-01 13:26:48 -080012
Sabina Davis6b61de32020-02-02 12:42:51 -080013 //Positive is rollers intaking to Washing Machine.
14 roller_voltage:float;
Tyler Chatow1879acc2020-02-01 13:26:48 -080015
16 // 0 = facing the front of the robot. Positive rotates counterclockwise.
17 // TODO(Kai): Define which wrap of the shooter is 0 if it can rotate past
18 // forward more than once.
19 turret:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal;
Stephan Massaltd021f972020-01-05 20:41:23 -080020}
21
22root_type Goal;