Maxwell Henderson | f63a0d9 | 2023-06-24 14:49:51 -0700 | [diff] [blame] | 1 | include "frc971/control_loops/control_loops.fbs"; |
| 2 | namespace y2023_bot4; |
| 3 | |
| 4 | table AbsoluteDrivetrainPosition { |
| 5 | // Position of the follower wheels from the encoders |
| 6 | follower_wheel_one_position:double (id: 0); |
| 7 | follower_wheel_two_position:double (id: 1); |
| 8 | |
| 9 | // Position from the mag encoder on each module. |
| 10 | front_left_position: frc971.AbsolutePosition (id: 2); |
| 11 | front_right_position: frc971.AbsolutePosition (id: 3); |
| 12 | back_left_position: frc971.AbsolutePosition (id: 4); |
| 13 | back_right_position: frc971.AbsolutePosition (id: 5); |
| 14 | } |
| 15 | |
| 16 | root_type AbsoluteDrivetrainPosition; |