]> git.taranathan.com Git - FRC2026.git/commitdiff
Update Shooter.java
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 7 Feb 2026 19:10:29 +0000 (11:10 -0800)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 7 Feb 2026 19:10:29 +0000 (11:10 -0800)
src/main/java/frc/robot/subsystems/shooter/Shooter.java

index 3bd617257ee8fc04c2c9518c71eda48db862e1b0..0e7652b14013490bb6794b2cf161c0e174967796 100644 (file)
@@ -1,7 +1,5 @@
 package frc.robot.subsystems.shooter;
 
-import java.lang.annotation.Target;
-
 import org.littletonrobotics.junction.AutoLogOutput;
 import org.littletonrobotics.junction.Logger;
 
@@ -73,10 +71,8 @@ public class Shooter extends SubsystemBase implements ShooterIO {
         phase = FlywheelPhase.START_UP;
 
         SmartDashboard.putData("Turn on shooter", new InstantCommand(() -> setShooter(ShooterConstants.SHOOTER_VELOCITY)));
-        SmartDashboard.putData("Turn on feeder", new InstantCommand(() -> setFeeder(ShooterConstants.FEEDER_RUN_POWER)));
         SmartDashboard.putData("Turn ALL off", new InstantCommand(() -> deactivateShooterAndFeeder()));
         SmartDashboard.putData("Turn off Shooter", new InstantCommand(() -> setShooter(0)));
-        SmartDashboard.putData("Turn off feeder", new InstantCommand(() -> setFeeder(0)));
     }
 
     public void periodic(){
@@ -107,13 +103,9 @@ public class Shooter extends SubsystemBase implements ShooterIO {
     }
 
     public void deactivateShooterAndFeeder() {
-        setFeeder(0);
         setShooter(0);
         System.out.println("Shooter deactivated");
     }
-    public void setFeeder(double power){
-        System.out.println("VELOCITY: " + getShooterVelcoity()); 
-    }
 
     public void setShooter(double velocityRPS) {
         shooterTargetSpeed = velocityRPS;