blob: dc3679d84e33069b063694142f2f47b045bf7927 [file] [log] [blame]
Maxwell Hendersonad312342023-01-10 12:07:47 -08001include "frc971/control_loops/control_loops.fbs";
2
3namespace y2023.control_loops.superstructure;
4
5table Position {
Nikita Narang27610fc2023-02-08 19:40:31 -08006 // Zero for proximal is facing parallel to base of robot
7 // Positive position would be rotated upwards
8 proximal:frc971.PotAndAbsolutePosition (id: 0);
9
10 // Zero for distal is facing parallel relative to the shoulder
11 // Positive position would be rotated upwards
12 distal:frc971.PotAndAbsolutePosition (id: 1);
13
14 // Zero for roll joint is up vertically
15 // Positive position would be rotated counterclockwise relative to the robot
16 roll_joint:frc971.PotAndAbsolutePosition (id: 2);
17
18 // Zero for wrist is facing staright outward.
19 // Positive position would be upwards
20 wrist:frc971.PotAndAbsolutePosition (id: 3);
Maxwell Hendersonad312342023-01-10 12:07:47 -080021}
22
23root_type Position;