blob: 1c8133208bf139c68f3a13f3fbf91de17c046ab4 [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
Niko Sohmers74b0ad52024-02-03 18:00:31 -08008 intake_pivot:frc971.AbsolutePosition (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);
Niko Sohmers3860f8a2024-01-12 21:05:19 -080025}
26
27root_type Position;