File tree Expand file tree Collapse file tree 2 files changed +3
-2
lines changed
src/main/java/com/stuypulse/robot Expand file tree Collapse file tree 2 files changed +3
-2
lines changed Original file line number Diff line number Diff line change 11plugins {
22 id " java"
3- id " edu.wpi.first.GradleRIO" version " 2024.1 .1"
3+ id " edu.wpi.first.GradleRIO" version " 2024.2 .1"
44 id " com.diffplug.spotless" version " 6.22.0"
55}
66
Original file line number Diff line number Diff line change 99import com .pathplanner .lib .auto .NamedCommands ;
1010import com .stuypulse .robot .commands .auton .DoNothingAuton ;
1111import com .stuypulse .robot .commands .drivetrain .DrivetrainDrive ;
12+ import com .stuypulse .robot .commands .launcher .LaunchPrepare ;
1213import com .stuypulse .robot .commands .launcher .LauncherHoldSpeed ;
1314import com .stuypulse .robot .commands .launcher .LauncherLaunchSpeaker ;
1415import com .stuypulse .robot .commands .launcher .LauncherIntakeNote ;
@@ -79,7 +80,7 @@ private void configureDriverBindings() {
7980 .whileTrue (new LauncherIntakeNote ());
8081
8182 driver .getBottomButton ()
82- .whileTrue (new LauncherLaunchSpeaker ());
83+ .whileTrue (new LaunchPrepare ( Settings . Launcher . LAUNCHER_SPEAKER_SPEED , Settings . Launcher . SPEAKER_THRESHOLD_RPM ). andThen ( new LauncherLaunchSpeaker () ));
8384 }
8485
8586 private void configureOperatorBindings () {}
You can’t perform that action at this time.
0 commit comments