blob: e5d0fc38f7df39170917a5d28f2afc6621abc735 [file] [log] [blame]
Maxwell Hendersonf63a0d92023-06-24 14:49:51 -07001include "frc971/control_loops/control_loops.fbs";
2namespace y2023_bot4;
3
4table 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
16root_type AbsoluteDrivetrainPosition;