From 3a18dbefe20ab588c8cfc2677fc4c144e698ddd4 Mon Sep 17 00:00:00 2001 From: iefomit Date: Sat, 7 Mar 2026 12:31:01 -0800 Subject: [PATCH] re-enable left auto, doesn't fully work --- .../pathplanner/paths/#1 Left under the trench.path | 6 ++++++ src/main/java/frc/robot/RobotContainer.java | 10 +++++----- 2 files changed, 11 insertions(+), 5 deletions(-) diff --git a/src/main/deploy/pathplanner/paths/#1 Left under the trench.path b/src/main/deploy/pathplanner/paths/#1 Left under the trench.path index 4f7a4c8..62211f8 100644 --- a/src/main/deploy/pathplanner/paths/#1 Left under the trench.path +++ b/src/main/deploy/pathplanner/paths/#1 Left under the trench.path @@ -91,6 +91,12 @@ "type": "parallel", "data": { "commands": [ + { + "type": "named", + "data": { + "name": "Extend Intake" + } + }, { "type": "named", "data": { diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 59d5c61..f02e54b 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -141,17 +141,17 @@ public class RobotContainer { PathGroupLoader.loadPathGroups(); // Load the auto command try { - //String leftSideAuto = "Left(No SOTM) - Under Trench"; + String leftSideAuto = "Left(No SOTM) - Under Trench"; //String rightSideAuto = "Right(2) - Under Trench"; - String testing = "Straight Test"; - PathPlannerAuto.getPathGroupFromAutoFile(testing); - auto = new PathPlannerAuto(testing); + //String testing = "Straight Test"; + PathPlannerAuto.getPathGroupFromAutoFile(leftSideAuto); + auto = new PathPlannerAuto(leftSideAuto); } catch (IOException | ParseException e) { e.printStackTrace(); } if(turret != null){ - //turret.setDefaultCommand(new Superstructure(turret, drive, hood, shooter, spindexer)); + turret.setDefaultCommand(new Superstructure(turret, drive, hood, shooter, spindexer)); } drive.setDefaultCommand(new DefaultDriveCommand(drive, driver)); break; -- 2.39.5