From: GLRoylance Date: Sun, 15 Feb 2026 04:24:23 +0000 (-0800) Subject: delete atMaxExtension X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=a92e9e5d16a2cc109831f14e7319b118032ade06;p=FRC2026.git delete atMaxExtension --- 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(); } } - -