From dab1d63053cd22126db7310c68bbf28b70232a3f Mon Sep 17 00:00:00 2001 From: Ryan Brott Date: Thu, 19 Sep 2024 09:41:48 -0700 Subject: [PATCH] Fix angular velocity Add workaround for https://github.com/FIRST-Tech-Challenge/FtcRobotController/issues/1070 --- .../ftc/teamcode/TwoDeadWheelLocalizer.java | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/TwoDeadWheelLocalizer.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/TwoDeadWheelLocalizer.java index edc4e85b45..117da2875f 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/TwoDeadWheelLocalizer.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/TwoDeadWheelLocalizer.java @@ -19,6 +19,7 @@ import org.firstinspires.ftc.robotcore.external.navigation.AngleUnit; import org.firstinspires.ftc.robotcore.external.navigation.AngularVelocity; +import org.firstinspires.ftc.robotcore.external.navigation.UnnormalizedAngleUnit; import org.firstinspires.ftc.robotcore.external.navigation.YawPitchRollAngles; import org.firstinspires.ftc.teamcode.messages.TwoDeadWheelInputsMessage; @@ -64,7 +65,15 @@ public Twist2dDual