From a92e9e5d16a2cc109831f14e7319b118032ade06 Mon Sep 17 00:00:00 2001 From: GLRoylance Date: Sat, 14 Feb 2026 20:24:23 -0800 Subject: [PATCH] delete atMaxExtension --- src/main/java/frc/robot/subsystems/Intake/Intake.java | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/Intake/Intake.java b/src/main/java/frc/robot/subsystems/Intake/Intake.java index 574426d..fcca87a 100644 --- a/src/main/java/frc/robot/subsystems/Intake/Intake.java +++ b/src/main/java/frc/robot/subsystems/Intake/Intake.java @@ -58,7 +58,6 @@ public class Intake extends SubsystemBase { // Use ElevatorSim for the extender private ElevatorSim intakeSim; - private double distance; private final MotionMagicVoltage voltageRequest = new MotionMagicVoltage(0); public Intake() { @@ -239,10 +238,6 @@ public class Intake extends SubsystemBase { return motorRotations; } - public boolean atMaxExtension(){ - return distance == IntakeConstants.maxExtension; // TODO add tolerance for distance - } - public void spin(double speed) { rollerMotor.set(speed); } @@ -269,5 +264,3 @@ public class Intake extends SubsystemBase { rollerMotor.close(); } } - - -- 2.39.5