Maxwell Henderson | 10ed5c3 | 2024-01-09 12:40:54 -0800 | [diff] [blame] | 1 | include "frc971/control_loops/can_talonfx.fbs"; |
Maxwell Henderson | f63a0d9 | 2023-06-24 14:49:51 -0700 | [diff] [blame] | 2 | namespace y2023_bot4; |
| 3 | |
| 4 | table SwerveModuleCANPosition { |
Maxwell Henderson | 10ed5c3 | 2024-01-09 12:40:54 -0800 | [diff] [blame] | 5 | rotation: frc971.control_loops.CANTalonFX (id: 0); |
| 6 | translation: frc971.control_loops.CANTalonFX (id: 1); |
Maxwell Henderson | f63a0d9 | 2023-06-24 14:49:51 -0700 | [diff] [blame] | 7 | } |
| 8 | |
| 9 | // CAN Readings from the CAN sensor reader loop for each swerve module |
| 10 | table 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 | |
| 17 | root_type AbsoluteCANPosition; |