blob: 7f954622a0982091caed6fde5b76f64886a6be64 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001include "frc971/control_loops/control_loops.fbs";
2
3namespace y2017.control_loops.superstructure;
4
5table ColumnPosition {
6 // Indexer angle in radians relative to the base. Positive is according to
7 // the right hand rule around +z.
8 indexer:frc971.HallEffectAndPosition;
9 // Turret angle in radians relative to the indexer. Positive is the same as
10 // the indexer.
11 turret:frc971.HallEffectAndPosition;
12}
13
14
15table Position {
16 // Position of the intake, zero when the intake is in, positive when it is
17 // out.
18 intake:frc971.PotAndAbsolutePosition;
19
20 // The position of the column.
21 column:ColumnPosition;
22
23 // The sensor readings for the hood. The units and sign are defined the
24 // same as what's in the Goal message.
25 hood:frc971.IndexPosition;
26
27 // Shooter wheel angle in radians.
28 theta_shooter:double;
29}
30
31root_type Position;