blob: 80a851e024d6a02b70d04e18ea1d2df0799b6c25 [file] [log] [blame]
Alex Perrycb7da4b2019-08-28 19:35:56 -07001include "frc971/control_loops/control_loops.fbs";
2
3namespace y2019.control_loops.superstructure;
4
5table Position {
6 // Input from pressure sensor in bar
7 // 1 = 1 atm, 0 = full vacuum
8 suction_pressure:float;
9
10 // Position of the elevator, 0 at lowest position, positive when up.
11 elevator:frc971.PotAndAbsolutePosition;
12
13 // Position of wrist, 0 when up, positive is rotating toward the front,
14 // over the top.
15 wrist:frc971.PotAndAbsolutePosition;
16
17 // Position of the intake. 0 when rollers are retracted, positive extended.
18 intake_joint:frc971.AbsolutePosition;
19
20 // Position of the stilts, 0 when retracted (defualt), positive lifts robot.
21 stilts:frc971.PotAndAbsolutePosition;
22
23 // True if the platform detection sensors detect the platform directly
24 // below the robot right behind the left and right wheels. Useful for
25 // determining when the robot is all the way on the platform.
26 platform_left_detect:bool;
27 platform_right_detect:bool;
28}
29
30root_type Position;