]> git.taranathan.com Git - FRC2026.git/commitdiff
remove ladder, kousha doesn't want it
authorWesley28w <wesleycwong@gmail.com>
Thu, 23 Apr 2026 14:37:20 +0000 (07:37 -0700)
committerWesley28w <wesleycwong@gmail.com>
Thu, 23 Apr 2026 14:37:20 +0000 (07:37 -0700)
src/main/java/frc/robot/constants/FieldConstants.java

index fc5fa494fb97cf85aa47c4a1296978ab241f385e..5cd3590eee70c27d29d12b46b8853a3448014628 100644 (file)
@@ -181,9 +181,9 @@ public class FieldConstants {
       return FieldZone.TRENCH_BUMP;
     }
 
-    if (underLadder(drivepose)) {
-      return FieldZone.UNDER_LADDER;
-    }
+    // if (underLadder(drivepose)) {
+    //   return FieldZone.UNDER_LADDER;
+    // }
 
     if (x > FieldConstants.RED_ALLIANCE_LINE - (DriveConstants.ROBOT_WIDTH_WITH_BUMPERS) / 2) {
       return (Robot.getAlliance() == Alliance.Red) ? FieldZone.ALLIANCE : FieldZone.OPPOSITION;