Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 1 | include "frc971/control_loops/control_loops.fbs"; |
Niko Sohmers | 58e64c8 | 2024-01-14 12:49:54 -0800 | [diff] [blame] | 2 | include "frc971/control_loops/profiled_subsystem.fbs"; |
Niko Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 3 | |
| 4 | namespace y2024.control_loops.superstructure; |
| 5 | |
| 6 | table Position { |
Niko Sohmers | 58e64c8 | 2024-01-14 12:49:54 -0800 | [diff] [blame] | 7 | // Values of the encoder and potentiometer at the intake pivot |
| 8 | intake_pivot:frc971.PotAndAbsolutePosition (id: 0); |
Maxwell Henderson | bf04fb6 | 2024-01-19 17:56:07 -0800 | [diff] [blame] | 9 | |
| 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 Sohmers | 3860f8a | 2024-01-12 21:05:19 -0800 | [diff] [blame] | 18 | } |
| 19 | |
| 20 | root_type Position; |