blob: 37e63b5f32facfa2fa03fc4105cfc256dfa760bd [file] [log] [blame]
milind-u086d7262022-01-19 20:44:18 -08001include "frc971/control_loops/profiled_subsystem.fbs";
2
3namespace y2022.control_loops.superstructure;
4
5table Goal {
Siddhant Kanwar0e37f592022-02-21 19:26:50 -08006 // Height of the climber above rest point
7 climber:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal (id: 0);
Henry Speiser55aa3ba2022-02-21 23:21:12 -08008
9 // Goal angles of intake joints.
10 // Positive is out, 0 is up.
11 intake_front:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal (id: 1);
12 intake_back:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal (id: 2);
13
14 // Positive is rollers intaking.
15 roller_speed_front:double (id: 3);
16 roller_speed_back:double (id: 4);
17 // One transfer motor for both sides
18 transfer_roller_speed:double (id: 5);
19
20 // Factor to multiply robot velocity by and add to roller voltage.
21 roller_speed_compensation:double (id: 6);
22
23 turret:frc971.control_loops.StaticZeroingSingleDOFProfiledSubsystemGoal (id: 7);
milind-u086d7262022-01-19 20:44:18 -080024}
25
26root_type Goal;