Skip to content

Commit

Permalink
Add everything back besides LED (doesn't crash)
Browse files Browse the repository at this point in the history
  • Loading branch information
TimB-87 committed Jan 19, 2025
1 parent 4373117 commit 6eadb14
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 8 deletions.
8 changes: 5 additions & 3 deletions src/main/java/frc/robot/CommandSequences.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,13 +14,15 @@
public class CommandSequences {

Drive drive;
Led led;
// Led led;
AlgaeDestage algaeDestage;
Outtake outtake;

public CommandSequences(Drive drive, Led led, AlgaeDestage algaeDestage, Outtake outtake) {
public CommandSequences(Drive drive,
// Led led,
AlgaeDestage algaeDestage, Outtake outtake) {
this.drive = drive;
this.led = led;
// this.led = led;
this.algaeDestage = algaeDestage;
this.outtake = outtake;
}
Expand Down
10 changes: 5 additions & 5 deletions src/main/java/frc/robot/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -46,16 +46,16 @@ public final class Robot extends CommandRobot {
private AlgaeDestage algaeDestage = new AlgaeDestage(map.getAlgaeDestageMap());
private Outtake outtake = new Outtake(map.getOuttakeMap());

// private CommandSequences commandSequences = new CommandSequences(drive, led,
// algaeDestage, outtake);
private CommandSequences commandSequences = new CommandSequences(drive,
algaeDestage, outtake);

NetworkTableInstance ntinst = NetworkTableInstance.getDefault();

public void registerNamedCommands() {

// NamedCommands.registerCommand("Intake Game Piece",
// commandSequences.intake());
// NamedCommands.registerCommand("Score Coral", commandSequences.scoreCoral());
NamedCommands.registerCommand("Intake Game Piece",
commandSequences.intake());
NamedCommands.registerCommand("Score Coral", commandSequences.scoreCoral());
}

@Autonomous(name = "No Auto", defaultAuto = true)
Expand Down

0 comments on commit 6eadb14

Please sign in to comment.