diff --git a/src/main/java/frc/robot/subsystem/Drive.java b/src/main/java/frc/robot/subsystem/Drive.java index a9db546..b802bd8 100644 --- a/src/main/java/frc/robot/subsystem/Drive.java +++ b/src/main/java/frc/robot/subsystem/Drive.java @@ -36,6 +36,7 @@ public class Drive extends SubsystemBase { public Drive() { try { this.swerveDrive = new SwerveParser(swerveJsonDirectory).createSwerveDrive(5); + swerveDrive.setHeadingCorrection(true); } catch (IOException e) { e.printStackTrace(); }