From: maxwtan <100314265+MaxwellTTan20@users.noreply.github.com> Date: Fri, 27 Feb 2026 06:31:07 +0000 (-0800) Subject: i'm changing it back bc i don't know how to use autochooser X-Git-Url: https://git.taranathan.com/?a=commitdiff_plain;h=ca3bf8d5eea0c6f8e64e46fbc804aba9a2e25bf6;p=FRC2026.git i'm changing it back bc i don't know how to use autochooser --- diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index a77b29b..df354e4 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -137,8 +137,9 @@ public class RobotContainer { PathGroupLoader.loadPathGroups(); // Load the auto command try { - PathPlannerAuto.getPathGroupFromAutoFile("Command Name"); - auto = new PathPlannerAuto("Path Name"); + String leftSideAuto = "Left Side Auto"; + PathPlannerAuto.getPathGroupFromAutoFile(leftSideAuto); + auto = new PathPlannerAuto(leftSideAuto); } catch (IOException | ParseException e) { e.printStackTrace(); } @@ -155,7 +156,7 @@ public class RobotContainer { LiveWindow.setEnabled(false); SmartDashboard.putData("Shutdown Orange Pis", new ShutdownAllPis()); - autoChooserInit(); + //autoChooserInit(); } /** @@ -191,8 +192,8 @@ public class RobotContainer { if (intake != null && spindexer != null){ NamedCommands.registerCommand("Intake", new ParallelCommandGroup( - new InstantCommand(()->intake.spin(IntakeConstants.SPEED)), - new InstantCommand(()-> spindexer.setSpindexer(SpindexerConstants.spindexerMaxPower)) + new InstantCommand(()->intake.spin(IntakeConstants.SPEED)) + //new InstantCommand(()-> spindexer.setSpindexer(SpindexerConstants.spindexerMaxPower)) )); }