From fee73633da2a04a496cb7cf8bb0f6d78a67ae8d1 Mon Sep 17 00:00:00 2001 From: Jonah <47046556+jwbonner@users.noreply.github.com> Date: Mon, 28 Oct 2024 20:29:34 -0400 Subject: [PATCH] =?UTF-8?q?Critical=20fix=20=E2=9A=A0=EF=B8=8F?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../org/littletonrobotics/frc2024/subsystems/drive/Module.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/org/littletonrobotics/frc2024/subsystems/drive/Module.java b/src/main/java/org/littletonrobotics/frc2024/subsystems/drive/Module.java index 19efe2ae..b9593a15 100644 --- a/src/main/java/org/littletonrobotics/frc2024/subsystems/drive/Module.java +++ b/src/main/java/org/littletonrobotics/frc2024/subsystems/drive/Module.java @@ -120,7 +120,7 @@ public SwerveModulePosition[] getModulePositions() { /** Get turn angle of module as {@link Rotation2d}. */ public Rotation2d getAngle() { - return inputs.turnAbsolutePosition; + return inputs.turnPosition; } /** Get position of wheel rotations in radians */