]> git.taranathan.com Git - FRC2026.git/commitdiff
set it back
authoriefomit <timofei.stem@gmail.com>
Wed, 11 Mar 2026 21:48:27 +0000 (14:48 -0700)
committeriefomit <timofei.stem@gmail.com>
Wed, 11 Mar 2026 21:48:27 +0000 (14:48 -0700)
src/main/java/frc/robot/RobotContainer.java

index 56ebb662036c9d1875855c05c47fc705ae997463..85ed2ed134c88ae84259825f2ede963ce35e017f 100644 (file)
@@ -226,7 +226,7 @@ public class RobotContainer {
 
     if (turret != null && drive != null && hood != null && shooter != null && spindexer != null) {
       Command runSpindexer = new RunSpindexer(spindexer, turret);
-      NamedCommands.registerCommand("Auto shoot", new Superstructure(turret, drive, hood, shooter, spindexer));
+      NamedCommands.registerCommand("Auto shoot", new AutoShootCommand(turret, drive, hood, shooter, spindexer));
       NamedCommands.registerCommand("Start Spindexer",
           new InstantCommand(() -> CommandScheduler.getInstance().schedule(runSpindexer)));
       NamedCommands.registerCommand("Stop Spindexer", new InstantCommand(() -> runSpindexer.cancel()));