From dab5c8ced355e4e5e7caad5b8ae3c6c6ad65bbb8 Mon Sep 17 00:00:00 2001 From: eileha Date: Mon, 9 Feb 2026 17:23:02 -0800 Subject: [PATCH] a --- .../autos/Testing Over the Bump.auto | 19 +++++++++++++++++++ src/main/java/frc/robot/RobotContainer.java | 5 +++-- 2 files changed, 22 insertions(+), 2 deletions(-) create mode 100644 src/main/deploy/pathplanner/autos/Testing Over the Bump.auto 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 index 0000000..e3097d1 --- /dev/null +++ b/src/main/deploy/pathplanner/autos/Testing Over the Bump.auto @@ -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 diff --git a/src/main/java/frc/robot/RobotContainer.java b/src/main/java/frc/robot/RobotContainer.java index 9773ebd..575a425 100644 --- a/src/main/java/frc/robot/RobotContainer.java +++ b/src/main/java/frc/robot/RobotContainer.java @@ -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(); } -- 2.39.5