Maxwell Henderson | ad31234 | 2023-01-10 12:07:47 -0800 | [diff] [blame] | 1 | include "frc971/control_loops/control_loops.fbs"; |
| 2 | |
| 3 | namespace y2023.control_loops.superstructure; |
| 4 | |
| 5 | table Position { |
Nikita Narang | 27610fc | 2023-02-08 19:40:31 -0800 | [diff] [blame] | 6 | // 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 Henderson | ad31234 | 2023-01-10 12:07:47 -0800 | [diff] [blame] | 21 | } |
| 22 | |
| 23 | root_type Position; |