From db7d31a83ed2fb0e118d97ed37d05478f9d52cf6 Mon Sep 17 00:00:00 2001 From: Programming Date: Mon, 18 Mar 2024 17:03:20 -0700 Subject: [PATCH] removed consumer LED --- src/main/java/frc/robot/subsystems/ShooterSubsystem.java | 6 ------ 1 file changed, 6 deletions(-) diff --git a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java index 8f4f82d..81e62ae 100644 --- a/src/main/java/frc/robot/subsystems/ShooterSubsystem.java +++ b/src/main/java/frc/robot/subsystems/ShooterSubsystem.java @@ -6,8 +6,6 @@ import com.revrobotics.CANSparkBase.IdleMode; -import java.util.function.Consumer; - import com.revrobotics.CANSparkFlex; import com.revrobotics.CANSparkLowLevel.MotorType; @@ -20,8 +18,6 @@ public class ShooterSubsystem extends SubsystemBase { CANSparkFlex m_bottom = new CANSparkFlex(ShooterConstants.kBottomShooterMotorPort, MotorType.kBrushless); CANSparkFlex m_top = new CANSparkFlex(ShooterConstants.kTopShooterMotorPort, MotorType.kBrushless); - private Consumer consumer; - private double m_topSpeed = 0; private double m_bottomSpeed = 0; @@ -56,8 +52,6 @@ public void setShootingSpeed(ShootSpeed speed) { m_bottomSpeed = 0.0; break; } - - consumer.accept(speed); } public double returnCurrentSpeed() {