Skip to content

Commit

Permalink
Revert "feat: kidMode :)"
Browse files Browse the repository at this point in the history
This reverts commit bbd8809.
  • Loading branch information
rutmanz committed May 7, 2024
1 parent bbd8809 commit fc1c0de
Show file tree
Hide file tree
Showing 3 changed files with 0 additions and 46 deletions.
3 changes: 0 additions & 3 deletions src/main/java/org/team1540/robot2024/Robot.java
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,6 @@
import org.littletonrobotics.junction.wpilog.WPILOGReader;
import org.littletonrobotics.junction.wpilog.WPILOGWriter;
import org.littletonrobotics.urcl.URCL;
import org.team1540.robot2024.commands.drivetrain.KidModeSwerveDriveCommand;
import org.team1540.robot2024.subsystems.led.Leds;
import org.team1540.robot2024.subsystems.led.patterns.*;
import org.team1540.robot2024.util.MechanismVisualiser;
Expand Down Expand Up @@ -209,8 +208,6 @@ public void teleopPeriodic() {
*/
@Override
public void testInit() {
robotContainer.leds.setPattern(Leds.Zone.MAIN, new LedPatternRainbow(10));
robotContainer.drivetrain.setDefaultCommand(new KidModeSwerveDriveCommand(robotContainer.drivetrain, robotContainer.kidPilot));
}

/**
Expand Down
4 changes: 0 additions & 4 deletions src/main/java/org/team1540/robot2024/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,6 @@ public class RobotContainer {
// Controller
public final CommandXboxController driver = new CommandXboxController(0);
public final CommandXboxController copilot = new CommandXboxController(1);
public final CommandXboxController kidPilot = new CommandXboxController(2);

public final PhoenixTimeSyncSignalRefresher odometrySignalRefresher = new PhoenixTimeSyncSignalRefresher(SwerveConfig.CAN_BUS);

Expand Down Expand Up @@ -163,9 +162,6 @@ private void configureButtonBindings() {
driver.rightBumper().toggleOnTrue(targetDrive);
driver.leftBumper().toggleOnTrue(overstageTargetDrive);

kidPilot.leftBumper().or(kidPilot.leftTrigger()).whileTrue(new ContinuousIntakeCommand(indexer, leds, 1));
kidPilot.rightBumper().or(kidPilot.rightTrigger()).whileTrue(new ShootSequence(shooter, indexer));

// TODO remove this
if (isTuningMode()) {
driver.leftTrigger().whileTrue(new AutoShootPrepareWhileMoving(driver.getHID(), drivetrain, shooter).alongWith(leds.commandShowPattern(new LedPatternWave("#00ff00"), Leds.PatternLevel.DRIVER_LOCK)));
Expand Down

This file was deleted.

0 comments on commit fc1c0de

Please sign in to comment.