Maxwell Henderson | f63a0d9 | 2023-06-24 14:49:51 -0700 | [diff] [blame^] | 1 | include "frc971/control_loops/can_falcon.fbs"; |
| 2 | namespace y2023_bot4; |
| 3 | |
| 4 | table 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 |
| 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; |