Skip to content

Commit

Permalink
add autons to be tested for tmrw
Browse files Browse the repository at this point in the history
  • Loading branch information
Keobkeig committed Apr 3, 2024
1 parent a6bc27e commit 670af07
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/main/java/com/stuypulse/robot/RobotContainer.java
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,8 @@
package com.stuypulse.robot;

import com.stuypulse.robot.commands.auton.DoNothingAuton;
import com.stuypulse.robot.commands.auton.Mobility;
import com.stuypulse.robot.commands.auton.Preload;
import com.stuypulse.robot.commands.auton.PreloadMobility;
import com.stuypulse.robot.commands.launcher.LauncherHoldSpeed;
import com.stuypulse.robot.commands.launcher.LauncherIntakeNote;
Expand Down Expand Up @@ -81,7 +83,12 @@ private void configureButtonBindings() {

public void configureAutons() {
autonChooser.setDefaultOption("Do Nothing", new DoNothingAuton());
//autonChooser.addOption("Preload Mobility", new PreloadMobility());

if (SwerveDrive.instance != null) {
autonChooser.addOption("Preload Mobility", new PreloadMobility());
autonChooser.addOption("Preload", new Preload());
autonChooser.addOption("Mobility", new Mobility());
}

SmartDashboard.putData("Autonomous", autonChooser);
}
Expand Down
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
package com.stuypulse.robot.commands.auton;

import com.stuypulse.robot.commands.SwerveDriveBack;
import com.stuypulse.robot.commands.swerve.SwerveDriveBack;

import edu.wpi.first.wpilibj2.command.SequentialCommandGroup;
import edu.wpi.first.wpilibj2.command.WaitCommand;
Expand Down

0 comments on commit 670af07

Please sign in to comment.