Skip to content

Commit b5dda59

Browse files
fix build
1 parent 8fcde4c commit b5dda59

File tree

2 files changed

+0
-44
lines changed

2 files changed

+0
-44
lines changed

src/main/java/frc/robot/RobotContainer.java

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@
1717
import edu.wpi.first.wpilibj.RobotBase;
1818
import edu.wpi.first.wpilibj.smartdashboard.SendableChooser;
1919
import edu.wpi.first.wpilibj.smartdashboard.SmartDashboard;
20-
import edu.wpi.first.wpilibj.util.Color;
2120
import edu.wpi.first.wpilibj2.command.Command;
2221
import edu.wpi.first.wpilibj2.command.CommandScheduler;
2322
import edu.wpi.first.wpilibj2.command.Commands;
@@ -29,9 +28,6 @@
2928
import frc.robot.commands.DriveCommands;
3029
import frc.robot.commands.controllers.JoystickInputController;
3130
import frc.robot.commands.controllers.SpeedLevelController;
32-
import frc.robot.commands.intake.SetIntakeSpeed;
33-
import frc.robot.commands.wrist.SetWrist;
34-
import frc.robot.subsystems.addressableled.AddressableLEDSubsystem;
3531
import frc.robot.subsystems.dashboard.DriverDashboard;
3632
import frc.robot.subsystems.drive.Drive;
3733
import frc.robot.subsystems.drive.DriveConstants;

src/main/java/frc/robot/subsystems/superstructure/Superstructure.java

Lines changed: 0 additions & 40 deletions
Original file line numberDiff line numberDiff line change
@@ -1,17 +1,10 @@
11
package frc.robot.subsystems.superstructure;
22

3-
import static edu.wpi.first.units.Units.Percent;
4-
import static edu.wpi.first.units.Units.Second;
5-
63
import edu.wpi.first.math.util.Units;
7-
import edu.wpi.first.wpilibj.LEDPattern;
8-
import edu.wpi.first.wpilibj.LEDPattern.GradientType;
94
import edu.wpi.first.wpilibj.util.Color;
105
import edu.wpi.first.wpilibj2.command.Command;
116
import edu.wpi.first.wpilibj2.command.Commands;
127
import edu.wpi.first.wpilibj2.command.SubsystemBase;
13-
import frc.robot.commands.SetAddressableLEDPattern;
14-
import frc.robot.subsystems.addressableled.AddressableLEDSubsystem;
158
import frc.robot.subsystems.superstructure.elevator.Elevator;
169
import frc.robot.subsystems.superstructure.elevator.ElevatorConstants;
1710
import frc.robot.subsystems.superstructure.intake.Intake;
@@ -145,11 +138,6 @@ public Command prepareL3() {
145138

146139
public Command prepareL4() {
147140
return Commands.parallel(
148-
new SetAddressableLEDPattern(
149-
led,
150-
LEDPattern.gradient(
151-
GradientType.kContinuous, Color.kBlack, SuperstructureConstants.L4_COLOR)
152-
.scrollAtRelativeSpeed(Percent.per(Second).of(35))),
153141
elevator.runOnce(() -> elevator.setGoalHeightMeters(ElevatorConstants.carriageMaxHeight)),
154142
algaeWrist.runPrepare(algaeHighStow),
155143
coralWrist.runPrepare(Units.degreesToRotations(90)));
@@ -183,34 +171,6 @@ public Command prepareAlgaeL4() {
183171
coralWrist.runPrepare(Units.degreesToRotations(90)));
184172
}
185173

186-
public Command prepareAlgaeL1() {
187-
return Commands.parallel(
188-
elevator.runPrepare(ElevatorConstants.carriageMaxHeight / 4.0),
189-
coralWrist.runPrepare(coralHighStow),
190-
algaeWrist.runPrepare(Units.degreesToRotations(90)));
191-
}
192-
193-
public Command prepareAlgaeL2() {
194-
return Commands.parallel(
195-
elevator.runPrepare(ElevatorConstants.carriageMaxHeight / 2.0),
196-
coralWrist.runPrepare(coralHighStow),
197-
algaeWrist.runPrepare(Units.degreesToRotations(90)));
198-
}
199-
200-
public Command prepareAlgaeL3() {
201-
return Commands.parallel(
202-
elevator.runPrepare(ElevatorConstants.carriageMaxHeight * (3.0 / 4.0)),
203-
coralWrist.runPrepare(coralHighStow),
204-
algaeWrist.runPrepare(Units.degreesToRotations(90)));
205-
}
206-
207-
public Command prepareAlgaeL4() {
208-
return Commands.parallel(
209-
elevator.runOnce(() -> elevator.setGoalHeightMeters(ElevatorConstants.carriageMaxHeight)),
210-
coralWrist.runPrepare(coralHighStow),
211-
algaeWrist.runPrepare(Units.degreesToRotations(90)));
212-
}
213-
214174
public Command prepareIntake() {
215175
return Commands.parallel(
216176
elevator.runPrepare(ElevatorConstants.carriageMaxHeight / 4.0),

0 commit comments

Comments
 (0)