Alex Perry | cb7da4b | 2019-08-28 19:35:56 -0700 | [diff] [blame] | 1 | include "frc971/control_loops/control_loops.fbs"; |
| 2 | |
| 3 | namespace y2014.control_loops.shooter; |
| 4 | |
| 5 | // Back is when the springs are all the way stretched. |
| 6 | table 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 | |
| 21 | root_type Position; |