]> git.taranathan.com Git - FRC2026.git/commitdiff
delete atMaxExtension
authorGLRoylance <GLRoylance@gmail.com>
Sun, 15 Feb 2026 04:24:23 +0000 (20:24 -0800)
committerGLRoylance <GLRoylance@gmail.com>
Sun, 15 Feb 2026 04:24:23 +0000 (20:24 -0800)
src/main/java/frc/robot/subsystems/Intake/Intake.java

index 574426dcc5bfdf2a49388b12fc9dfb714c769c6a..fcca87a029d6f0ae96cfd5d1cd9b8d11853f3020 100644 (file)
@@ -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();
     }
 }
-    
-