Skip to content

Commit

Permalink
removed unused comment. fixed formatting
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammingSR committed Apr 5, 2024
1 parent cb8aff1 commit 39e77e4
Showing 1 changed file with 4 additions and 10 deletions.
14 changes: 4 additions & 10 deletions src/main/java/frc/robot/commands/DefaultLEDCommand.java
Original file line number Diff line number Diff line change
Expand Up @@ -64,25 +64,19 @@ public void initialize() {
}

//check for pneumatics state and override b4 value
if (m_climberSubsystem.getState() == Value.kForward){
if (m_climberSubsystem.getState() == Value.kForward) {
rgb[0] = 257;
rgb[1] = 257;
rgb[2] = 257;
}

// if (m_climberSubsystem.getState() == Value.kReverse){
// rgb[0] = 258;
// rgb[1] = 258;
// rgb[2] = 258;
// }

if (m_intakeSubsystem.getArmPosition() == IntakeConstants.kIntakeAmpScoringAngle){
if (m_intakeSubsystem.ampReady()){
if (m_intakeSubsystem.getArmPosition() == IntakeConstants.kIntakeAmpScoringAngle) {
if (m_intakeSubsystem.ampReady()) {
rgb[0] = 0;
rgb[1] = 255;
rgb[2] = 0;
}
else{
else {
rgb[0] = 0;
rgb[1] = 255;
rgb[2] = 0;
Expand Down

0 comments on commit 39e77e4

Please sign in to comment.