blob: ef8edf7bef3c173b25f23cf8f663d929b52d000f [file] [log] [blame]
Maxwell Henderson10ed5c32024-01-09 12:40:54 -08001include "frc971/control_loops/can_talonfx.fbs";
Maxwell Hendersonf63a0d92023-06-24 14:49:51 -07002namespace y2023_bot4;
3
4table SwerveModuleCANPosition {
Maxwell Henderson10ed5c32024-01-09 12:40:54 -08005 rotation: frc971.control_loops.CANTalonFX (id: 0);
6 translation: frc971.control_loops.CANTalonFX (id: 1);
Maxwell Hendersonf63a0d92023-06-24 14:49:51 -07007}
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;