From bf1fce77cd8b54b3229fef0109e5b9a03f94934b Mon Sep 17 00:00:00 2001 From: "Techon ;-" <148909669+TechonVS@users.noreply.github.com> Date: Tue, 18 Aug 2026 18:27:10 +0100 Subject: [PATCH] Fix StrafeVelocityIdentificator from returning 0 --- .../identification/StrafeVelocityIdentification.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/identification/StrafeVelocityIdentification.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/identification/StrafeVelocityIdentification.java index a45b2b06bc27..a36970f436ea 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/identification/StrafeVelocityIdentification.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/pedroPathing/identification/StrafeVelocityIdentification.java @@ -82,7 +82,7 @@ public void loop() { follower.manual(0,1,0); double currentVelocity = Math.abs(follower.twist().toVector2D().y()); velocities.addLast(currentVelocity); - velocities.removeLast(); + velocities.removeFirst(); } } else { follower.manual(0,0,0); @@ -102,4 +102,4 @@ public void loop() { telemetry.update(); } } -} \ No newline at end of file +}