From 2f0fcad1287b3f62b8c178cd09c73ac0df5350ef Mon Sep 17 00:00:00 2001 From: abhiramtx Date: Thu, 22 Jan 2026 20:06:08 -0600 Subject: [PATCH] updated interpolation in teleop --- .../java/org/firstinspires/ftc/teamcode/teleop/TeleopV3.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/teleop/TeleopV3.java b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/teleop/TeleopV3.java index f1eca29..ec6012e 100644 --- a/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/teleop/TeleopV3.java +++ b/TeamCode/src/main/java/org/firstinspires/ftc/teamcode/teleop/TeleopV3.java @@ -123,6 +123,7 @@ public class TeleopV3 extends LinearOpMode { private double transferStamp = 0.0; private int tickerA = 1; private boolean transferIn = false; + boolean turretInterpolate = true; public static double velPrediction(double distance) { if (distance < 30) { @@ -413,7 +414,7 @@ public class TeleopV3 extends LinearOpMode { targetingSettings = targeting.calculateSettings - (robotX,robotY,robotHeading,0.0); + (robotX,robotY,robotHeading,0.0, turretInterpolate); //VELOCITY AUTOMATIC if (targetingVel) { @@ -929,6 +930,7 @@ public class TeleopV3 extends LinearOpMode { TELE.addData( "robotY", robotY); TELE.addData("robotInchesX", targeting.robotInchesX); TELE.addData( "robotInchesY", targeting.robotInchesY); + TELE.addData("Targeting Interpolate", turretInterpolate); TELE.addData("Targeting GridX", targeting.robotGridX); TELE.addData("Targeting GridY", targeting.robotGridY); TELE.addData("Targeting FlyWheel", targetingSettings.flywheelRPM);