From 657f0e106e599054954b83de4e6b8b9c96cd6845 Mon Sep 17 00:00:00 2001 From: roboblazers7617 <62038235+roboblazers7617@users.noreply.github.com> Date: Sun, 7 Apr 2024 09:57:00 -0400 Subject: [PATCH] tune interpolation table --- src/main/java/frc/robot/Constants.java | 2 +- src/main/java/frc/robot/subsystems/Arm.java | 6 +++--- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/main/java/frc/robot/Constants.java b/src/main/java/frc/robot/Constants.java index 118feb4..7a5f445 100644 --- a/src/main/java/frc/robot/Constants.java +++ b/src/main/java/frc/robot/Constants.java @@ -69,7 +69,7 @@ public double elevator_target(){ } public static final int AUTO_SHOOT_SPEED = 6000; - public static final int VARIABLE_DISTANCE_SHOT = 6500; + public static final int VARIABLE_DISTANCE_SHOT = 6750; } public static class ArmConstants { diff --git a/src/main/java/frc/robot/subsystems/Arm.java b/src/main/java/frc/robot/subsystems/Arm.java index 01fa73c..41d4910 100644 --- a/src/main/java/frc/robot/subsystems/Arm.java +++ b/src/main/java/frc/robot/subsystems/Arm.java @@ -125,9 +125,9 @@ public Arm() { armAngleBasedOnDistanceExtended.put(3.1, 37.0);//35.25 //TODO: Add Treemap values - armAngleBasedOnDistanceRetracted.put(1.96, 19.6); - armAngleBasedOnDistanceRetracted.put(2.47, 29.0); - armAngleBasedOnDistanceRetracted.put(2.92, 32.3); + armAngleBasedOnDistanceRetracted.put(1.96, 18.6); + armAngleBasedOnDistanceRetracted.put(2.47, 27.0); + armAngleBasedOnDistanceRetracted.put(2.92, 31.8); armAngleBasedOnDistanceRetracted.put(2.96, 30.9); armAngleBasedOnDistanceRetracted.put(3.51, 35.1); armAngleBasedOnDistanceRetracted.put(3.61,32.7);