Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
overseeroverseer committed Feb 2, 2024
2 parents ece09f8 + 25d79e1 commit 8164a75
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
plugins {
id "java"
id "edu.wpi.first.GradleRIO" version "2024.1.1"
id "edu.wpi.first.GradleRIO" version "2024.2.1"
id "com.diffplug.spotless" version "6.22.0"
}

Expand Down
3 changes: 2 additions & 1 deletion src/main/java/com/stuypulse/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@
import com.pathplanner.lib.auto.NamedCommands;
import com.stuypulse.robot.commands.auton.DoNothingAuton;
import com.stuypulse.robot.commands.drivetrain.DrivetrainDrive;
import com.stuypulse.robot.commands.launcher.LaunchPrepare;
import com.stuypulse.robot.commands.launcher.LauncherHoldSpeed;
import com.stuypulse.robot.commands.launcher.LauncherLaunchSpeaker;
import com.stuypulse.robot.commands.launcher.LauncherIntakeNote;
Expand Down Expand Up @@ -79,7 +80,7 @@ private void configureDriverBindings() {
.whileTrue(new LauncherIntakeNote());

driver.getBottomButton()
.whileTrue(new LauncherLaunchSpeaker());
.whileTrue(new LaunchPrepare(Settings.Launcher.LAUNCHER_SPEAKER_SPEED, Settings.Launcher.SPEAKER_THRESHOLD_RPM).andThen(new LauncherLaunchSpeaker()));
}

private void configureOperatorBindings() {}
Expand Down

0 comments on commit 8164a75

Please sign in to comment.