From 389bc7c873081471297f16e4f3619e2f7fefa0e7 Mon Sep 17 00:00:00 2001 From: Michael Mikovsky <77305074+Astatin3@users.noreply.github.com> Date: Mon, 23 Feb 2026 15:49:03 -0700 Subject: [PATCH] Remove unneeded LED patterns --- .../frc4388/robot/constants/Constants.java | 8 +++--- .../robot/subsystems/intake/Intake.java | 1 - .../robot/subsystems/shooter/Shooter.java | 27 +++++++++---------- 3 files changed, 16 insertions(+), 20 deletions(-) diff --git a/src/main/java/frc4388/robot/constants/Constants.java b/src/main/java/frc4388/robot/constants/Constants.java index 12b87b6..fe68f3b 100644 --- a/src/main/java/frc4388/robot/constants/Constants.java +++ b/src/main/java/frc4388/robot/constants/Constants.java @@ -101,10 +101,10 @@ public final class Constants { public static final LEDPatterns DEFAULT_PATTERN = LEDPatterns.FOREST_RAINBOW; - // LED color for when the intake is out - public static final LEDPatterns INTAKE_OUT = LEDPatterns.SOLID_RED; - // LED color for when the intake is out, but the driver conditions are bad - public static final LEDPatterns INTAKE_OUT_BADPHYS = LEDPatterns.RED_STROBE; + // // LED color for when the intake is out + // public static final LEDPatterns INTAKE_OUT = LEDPatterns.SOLID_RED; + // // LED color for when the intake is out, but the driver conditions are bad + // public static final LEDPatterns INTAKE_OUT_BADPHYS = LEDPatterns.RED_STROBE; // LED color for when the flywheel speed isn't in tolarance diff --git a/src/main/java/frc4388/robot/subsystems/intake/Intake.java b/src/main/java/frc4388/robot/subsystems/intake/Intake.java index 99c06fc..fc05d3a 100644 --- a/src/main/java/frc4388/robot/subsystems/intake/Intake.java +++ b/src/main/java/frc4388/robot/subsystems/intake/Intake.java @@ -1,7 +1,6 @@ package frc4388.robot.subsystems.intake; import static edu.wpi.first.units.Units.Rotations; -import static edu.wpi.first.units.Units.RotationsPerSecond; import java.util.function.Supplier; import org.littletonrobotics.junction.Logger; diff --git a/src/main/java/frc4388/robot/subsystems/shooter/Shooter.java b/src/main/java/frc4388/robot/subsystems/shooter/Shooter.java index 90c594a..ad2076f 100644 --- a/src/main/java/frc4388/robot/subsystems/shooter/Shooter.java +++ b/src/main/java/frc4388/robot/subsystems/shooter/Shooter.java @@ -6,14 +6,11 @@ import org.littletonrobotics.junction.AutoLogOutput; import org.littletonrobotics.junction.Logger; import edu.wpi.first.math.geometry.Pose2d; -import edu.wpi.first.math.geometry.Rotation2d; -import edu.wpi.first.math.geometry.Translation2d; import edu.wpi.first.math.kinematics.ChassisSpeeds; import edu.wpi.first.wpilibj2.command.SubsystemBase; import frc4388.robot.constants.Constants; import frc4388.robot.subsystems.LED; import frc4388.robot.subsystems.intake.Intake; -import frc4388.robot.subsystems.intake.Intake.IntakeMode; import frc4388.robot.subsystems.swerve.SwerveDrive; import frc4388.utility.compute.FieldPositions; @@ -137,18 +134,18 @@ public class Shooter extends SubsystemBase { case 0b011: // Bad flywheel, yes driver err m_robotLED.setMode(Constants.LEDConstants.BAD_FLYWEEL_BADPHYS); break; - case 0b100: // Bad intake, no driver err - m_robotLED.setMode(Constants.LEDConstants.INTAKE_OUT); - break; - case 0b101: // Bad intake, yes driver err - m_robotLED.setMode(Constants.LEDConstants.INTAKE_OUT_BADPHYS); - break; - case 0b110: // Bad intake and shooter (intake is more important), no driver err - m_robotLED.setMode(Constants.LEDConstants.INTAKE_OUT); - break; - case 0b111: // Bad intake and shooter (intake is more important), yes driver err - m_robotLED.setMode(Constants.LEDConstants.INTAKE_OUT_BADPHYS); - break; + // case 0b100: // Bad intake, no driver err + // m_robotLED.setMode(Constants.LEDConstants.INTAKE_OUT); + // break; + // case 0b101: // Bad intake, yes driver err + // m_robotLED.setMode(Constants.LEDConstants.INTAKE_OUT_BADPHYS); + // break; + // case 0b110: // Bad intake and shooter (intake is more important), no driver err + // m_robotLED.setMode(Constants.LEDConstants.INTAKE_OUT); + // break; + // case 0b111: // Bad intake and shooter (intake is more important), yes driver err + // m_robotLED.setMode(Constants.LEDConstants.INTAKE_OUT_BADPHYS); + // break; } // // We set the shooter mode to ready if there are no errors