blob: 9c73a1af31e454a1567864380b78ea8222d80f39 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001include "frc971/control_loops/control_loops.fbs";
2
3namespace y2014.control_loops.shooter;
4
5// Back is when the springs are all the way stretched.
6table Position {
7 // In meters, out is positive.
8 position:double;
9
10 // If the latch piston is fired and this hall effect has been triggered, the
11 // plunger is all the way back and latched.
12 plunger:bool;
13 // Gets triggered when the pusher is all the way back.
14 pusher_distal:frc971.PosedgeOnlyCountedHallEffectStruct;
15 // Triggers just before pusher_distal.
16 pusher_proximal:frc971.PosedgeOnlyCountedHallEffectStruct;
17 // Triggers when the latch engages.
18 latch:bool;
19}
20
21root_type Position;