blob: 17d9f177cf899a418e2f174e78230b6ea0e873a2 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001include "frc971/control_loops/control_loops.fbs";
2
3namespace y2014.control_loops.claw;
4
5// All angles here are 0 vertical, positive "up" (aka backwards).
6table HalfClawPosition {
7 // The current position of this half of the claw.
8 position:double;
9
10 // The hall effect sensor at the front limit.
11 front:frc971.HallEffectStruct;
12 // The hall effect sensor in the middle to use for real calibration.
13 calibration:frc971.HallEffectStruct;
14 // The hall effect at the back limit.
15 back:frc971.HallEffectStruct;
16}
17
18table Position {
19 // All the top claw information.
20 top:HalfClawPosition;
21 // All the bottom claw information.
22 bottom:HalfClawPosition;
23}
24
25root_type Position;