]> git.taranathan.com Git - FRC2026.git/commitdiff
a
authoreileha <eileenhan369@gmail.com>
Tue, 10 Feb 2026 01:23:02 +0000 (17:23 -0800)
committereileha <eileenhan369@gmail.com>
Tue, 10 Feb 2026 01:23:02 +0000 (17:23 -0800)
src/main/deploy/pathplanner/autos/Testing Over the Bump.auto [new file with mode: 0644]
src/main/java/frc/robot/RobotContainer.java

diff --git a/src/main/deploy/pathplanner/autos/Testing Over the Bump.auto b/src/main/deploy/pathplanner/autos/Testing Over the Bump.auto
new file mode 100644 (file)
index 0000000..e3097d1
--- /dev/null
@@ -0,0 +1,19 @@
+{
+  "version": "2025.0",
+  "command": {
+    "type": "sequential",
+    "data": {
+      "commands": [
+        {
+          "type": "path",
+          "data": {
+            "pathName": "Over the bump diagonal"
+          }
+        }
+      ]
+    }
+  },
+  "resetOdom": true,
+  "folder": null,
+  "choreoAuto": false
+}
\ No newline at end of file
index 9773ebdda2f94e999a2271da0f0a3196a5e9b8ca..575a4251f25e201ec63769f86775afa5923cd9d3 100644 (file)
@@ -105,8 +105,9 @@ public class RobotContainer {
         PathGroupLoader.loadPathGroups();
         // Load the auto command
         try {
-          PathPlannerAuto.getPathGroupFromAutoFile("Command Name");
-          auto = new PathPlannerAuto("Path Name");
+          String testingAuto = "Testing Over the Bump";
+          PathPlannerAuto.getPathGroupFromAutoFile(testingAuto);
+          auto = new PathPlannerAuto(testingAuto);
         } catch (IOException | ParseException e) {
           e.printStackTrace();
         }