From 4dd10414c5e67c97876b6dffd07b6fe7406e73ff Mon Sep 17 00:00:00 2001 From: maxwtan <100314265+MaxwellTTan20@users.noreply.github.com> Date: Wed, 25 Feb 2026 14:45:24 -0800 Subject: [PATCH] Update Superstructure.java --- src/main/java/frc/robot/commands/gpm/Superstructure.java | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/main/java/frc/robot/commands/gpm/Superstructure.java b/src/main/java/frc/robot/commands/gpm/Superstructure.java index 37d3465..1ab9f93 100644 --- a/src/main/java/frc/robot/commands/gpm/Superstructure.java +++ b/src/main/java/frc/robot/commands/gpm/Superstructure.java @@ -116,7 +116,8 @@ public class Superstructure extends Command { goalState = ShooterPhysics.getShotParams( target3d.minus(lookahead3d), - 2.0); + target == FieldConstants.getHubTranslation().toTranslation2d() ? + 2.0 : 3.0); timeOfFlight = goalState.timeOfFlight(); double offsetX = turretVelocityX * timeOfFlight; -- 2.39.5