Skip to content

Commit a6f3fa6

Browse files
Update NavXSwerve.java
1 parent eb6414d commit a6f3fa6

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/main/java/swervelib/imu/NavXSwerve.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ public Rotation3d getRawRotation3d()
157157
@Override
158158
public Rotation3d getRotation3d()
159159
{
160-
return gyro.getRotation3d().minus(offset);
160+
return getRawRotation3d().minus(offset);
161161
}
162162

163163
/**

0 commit comments

Comments
 (0)