From 9330c2221315f845986f7df4fcfd5daec072c7bb Mon Sep 17 00:00:00 2001 From: junkjunk123 <139065303+junkjunk123@users.noreply.github.com> Date: Fri, 6 Dec 2024 09:36:06 -0800 Subject: [PATCH] Update PinpointLocalizer.java --- .../pedroPathing/localization/localizers/PinpointLocalizer.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/PinpointLocalizer.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/PinpointLocalizer.java index f6ee7333..73272b88 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/PinpointLocalizer.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/localization/localizers/PinpointLocalizer.java @@ -105,7 +105,7 @@ // @Override // public Pose getVelocity() { // Pose2D pose = odo.getVelocity(); -// return new Pose(pose.getX(DistanceUnit.INCH), pose.getY(DistanceUnit.INCH), pose.getHeading(AngleUnit.RADIANS)); +// return new Pose(pose.getX(DistanceUnit.INCH), pose.getY(DistanceUnit.INCH), odo.getHeadingVelocity()); // } // // /**