[wpilib] Rename OnboardIMU constants to all caps

This commit is contained in:
Peter Johnson
2026-03-17 16:45:25 -07:00
parent e73e2e99f7
commit 3776f8a1ef
41 changed files with 72 additions and 72 deletions

View File

@@ -29,7 +29,7 @@ class Drivetrain:
self.backLeft = swervemodule.SwerveModule(5, 6, 8, 9, 10, 11)
self.backRight = swervemodule.SwerveModule(7, 8, 12, 13, 14, 15)
self.imu = wpilib.OnboardIMU(wpilib.OnboardIMU.MountOrientation.kFlat)
self.imu = wpilib.OnboardIMU(wpilib.OnboardIMU.MountOrientation.FLAT)
self.kinematics = wpimath.SwerveDrive4Kinematics(
self.frontLeftLocation,