blob: 6f253b0c34569d72eaa8659e64fe816c238ba849 [file] [log] [blame]
Niko Sohmers3860f8a2024-01-12 21:05:19 -08001include "frc971/control_loops/control_loops.fbs";
Niko Sohmers58e64c82024-01-14 12:49:54 -08002include "frc971/control_loops/profiled_subsystem.fbs";
Niko Sohmers3860f8a2024-01-12 21:05:19 -08003
4namespace y2024.control_loops.superstructure;
5
6table Position {
Niko Sohmers58e64c82024-01-14 12:49:54 -08007 // Values of the encoder and potentiometer at the intake pivot
8 intake_pivot:frc971.PotAndAbsolutePosition (id: 0);
Maxwell Hendersonbf04fb62024-01-19 17:56:07 -08009
10 // Values of the encoder and potentiometer at the turret
11 turret:frc971.PotAndAbsolutePosition (id: 1);
12
13 // Values of the encoder and potentiometer at the altitude
14 altitude:frc971.PotAndAbsolutePosition (id: 2);
15
16 // Values of the encoder and potentiometer at the catapult
17 catapult:frc971.PotAndAbsolutePosition (id: 3);
Niko Sohmers78f71352024-02-02 16:47:40 -080018
19 // True means there is a game piece in the transfer.
20 transfer_beambreak:bool (id: 4);
Filip Kujawa57507152024-01-31 20:09:25 -080021
22 // Values of the encoder and potentiometer at the climber.
23 // Zero is fully retracted, positive is extended upward.
24 climber:frc971.PotAndAbsolutePosition (id: 5);
Maxwell Hendersoned970292024-02-02 20:08:08 -080025
26 // True if there is a game piece in the catapult
27 catapult_beam_break:bool (id: 6);
Niko Sohmers3860f8a2024-01-12 21:05:19 -080028}
29
30root_type Position;