This commit is contained in:
samuel desharnais 2024-03-27 18:54:21 -04:00
parent 96c4845cfa
commit 78e9cf412a

View File

@ -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();
}