From: WesleyWong-972 Date: Sun, 22 Mar 2026 17:52:08 +0000 (-0700) Subject: idk i give up temporarily X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=84fb68494f214a148c7ab9e86d8dc3bbf2133bfe;p=FRC2026.git idk i give up temporarily --- diff --git a/src/main/java/frc/robot/commands/gpm/Superstructure.java b/src/main/java/frc/robot/commands/gpm/Superstructure.java index ce01637..bb16908 100644 --- a/src/main/java/frc/robot/commands/gpm/Superstructure.java +++ b/src/main/java/frc/robot/commands/gpm/Superstructure.java @@ -227,7 +227,10 @@ public class Superstructure extends Command { // } hood.setFieldRelativeTarget(Rotation2d.fromDegrees(ShotInterpolation.newHoodMap.get(distanceFromTarget)), hoodVelocity); - if (FieldConstants.underTrench(drivepose.getX(), drivepose.getY())) { + double x = drivepose.getX(); // compared as meters + double y = drivepose.getY(); + System.out.println("X: " + x + "Y: " + y); + if (FieldConstants.underTrench(x, y)) { hood.forceHoodDown(true); } else { hood.forceHoodDown(false);