mirror of
https://github.com/wpilibsuite/allwpilib
synced 2026-07-03 03:01:44 +00:00
[wpilib] Rename OnboardIMU constants to all caps
This commit is contained in:
@@ -20,7 +20,7 @@ class MyRobot(wpilib.TimedRobot):
|
||||
|
||||
kLeftMotorPort = 0
|
||||
kRightMotorPort = 1
|
||||
kIMUMountOrientation = wpilib.OnboardIMU.MountOrientation.kFlat
|
||||
kIMUMountOrientation = wpilib.OnboardIMU.MountOrientation.FLAT
|
||||
kJoystickPort = 0
|
||||
|
||||
def __init__(self) -> None:
|
||||
|
||||
Reference in New Issue
Block a user