]> git.taranathan.com Git - FRC2026.git/commitdiff
re-enable left auto, doesn't fully work
authoriefomit <timofei.stem@gmail.com>
Sat, 7 Mar 2026 20:31:01 +0000 (12:31 -0800)
committeriefomit <timofei.stem@gmail.com>
Sat, 7 Mar 2026 20:31:01 +0000 (12:31 -0800)
src/main/deploy/pathplanner/paths/#1 Left under the trench.path
src/main/java/frc/robot/RobotContainer.java

index 4f7a4c86e845840d29d4113545ba56bda572b18d..62211f81a8ad343724113f940631cf9c1e0caea9 100644 (file)
         "type": "parallel",
         "data": {
           "commands": [
+            {
+              "type": "named",
+              "data": {
+                "name": "Extend Intake"
+              }
+            },
             {
               "type": "named",
               "data": {
index 59d5c612b8db100595c4d061e37ba054ad388af5..f02e54b5155d83cbe7c251aa8424701dbdbf577e 100644 (file)
@@ -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;