blob: da867a9df23b050f0c6bb3d6a858eaa93e1f3d18 [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);
Niko Sohmers3860f8a2024-01-12 21:05:19 -080021}
22
23root_type Position;