Skip to content

Commit

Permalink
Rename extend dump command
Browse files Browse the repository at this point in the history
  • Loading branch information
garrettsummerfi3ld committed Mar 2, 2024
1 parent bb6ab99 commit 09289a2
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -95,7 +95,7 @@ private void configureBindings() {
new Pose2d(new Translation2d(4, 4), Rotation2d.fromDegrees(0)))));
driverXbox.y().whileTrue(Commands.runOnce(drivebase::lock, drivebase).repeatedly());

copilotJoystick.trigger().onTrue(Commands.runOnce(dump::dump));
copilotJoystick.trigger().onTrue(Commands.runOnce(dump::extend));
copilotJoystick.trigger().onFalse(Commands.runOnce(dump::retract));
copilotJoystick.button(3).whileTrue(Commands.runOnce(intake::runIntake));
copilotJoystick.button(4).whileTrue(Commands.runOnce(intake::reverseIntake));
Expand Down
2 changes: 1 addition & 1 deletion src/main/java/frc/robot/subsystems/DumpSubsystem.java
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ public DumpSubsystem() {
public void periodic() {}

/** Dumps the dump bed. */
public void dump() {
public void extend() {
dumpSolenoid.set(DoubleSolenoid.Value.kForward);
isDumped = true;
SmartDashboard.putBoolean(getName(), isDumped);
Expand Down

0 comments on commit 09289a2

Please sign in to comment.