blob: e8c1235bab712f6c135664df9629cc76046b32d1 [file] [log] [blame]
Maxwell Hendersonf63a0d92023-06-24 14:49:51 -07001include "frc971/control_loops/can_falcon.fbs";
2namespace y2023_bot4;
3
4table SwerveModuleCANPosition {
5 rotation: frc971.control_loops.CANFalcon (id: 0);
6 translation: frc971.control_loops.CANFalcon (id: 1);
7}
8
9// CAN Readings from the CAN sensor reader loop for each swerve module
10table AbsoluteCANPosition {
11 front_left: SwerveModuleCANPosition (id: 0);
12 front_right: SwerveModuleCANPosition (id: 1);
13 back_left: SwerveModuleCANPosition (id: 2);
14 back_right: SwerveModuleCANPosition (id: 3);
15}
16
17root_type AbsoluteCANPosition;