From a6f3fa67143d6913ae8c6c9d363410d8b0fb23ab Mon Sep 17 00:00:00 2001 From: T Grinch <10247070+thenetworkgrinch@users.noreply.github.com> Date: Mon, 19 Feb 2024 18:34:13 -0600 Subject: [PATCH] Update NavXSwerve.java --- src/main/java/swervelib/imu/NavXSwerve.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/swervelib/imu/NavXSwerve.java b/src/main/java/swervelib/imu/NavXSwerve.java index 790d6b28..8b2b239f 100644 --- a/src/main/java/swervelib/imu/NavXSwerve.java +++ b/src/main/java/swervelib/imu/NavXSwerve.java @@ -157,7 +157,7 @@ public Rotation3d getRawRotation3d() @Override public Rotation3d getRotation3d() { - return gyro.getRotation3d().minus(offset); + return getRawRotation3d().minus(offset); } /**