]> git.taranathan.com Git - FRC2026.git/commitdiff
Auto working with wait command :)
authormaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 14 Mar 2026 02:24:01 +0000 (19:24 -0700)
committermaxwtan <100314265+MaxwellTTan20@users.noreply.github.com>
Sat, 14 Mar 2026 02:24:01 +0000 (19:24 -0700)
src/main/deploy/pathplanner/autos/Left Week V1.auto [new file with mode: 0644]
src/main/deploy/pathplanner/autos/Simple Test (WORKING).auto [new file with mode: 0644]
src/main/deploy/pathplanner/autos/Simple Test.auto [deleted file]
src/main/deploy/pathplanner/paths/Full Left Path v3.path
src/main/java/frc/robot/RobotContainer.java

diff --git a/src/main/deploy/pathplanner/autos/Left Week V1.auto b/src/main/deploy/pathplanner/autos/Left Week V1.auto
new file mode 100644 (file)
index 0000000..6d01ac5
--- /dev/null
@@ -0,0 +1,61 @@
+{
+  "version": "2025.0",
+  "command": {
+    "type": "sequential",
+    "data": {
+      "commands": [
+        {
+          "type": "wait",
+          "data": {
+            "waitTime": 0.2
+          }
+        },
+        {
+          "type": "named",
+          "data": {
+            "name": "Extend Intake"
+          }
+        },
+        {
+          "type": "wait",
+          "data": {
+            "waitTime": 0.1
+          }
+        },
+        {
+          "type": "named",
+          "data": {
+            "name": "Start Spindexer"
+          }
+        },
+        {
+          "type": "wait",
+          "data": {
+            "waitTime": 1.0
+          }
+        },
+        {
+          "type": "named",
+          "data": {
+            "name": "Stop Spindexer"
+          }
+        },
+        {
+          "type": "named",
+          "data": {
+            "name": "Hood Down"
+          }
+        },
+        {
+          "type": "path",
+          "data": {
+            "pathName": "Full Left Path v3"
+          }
+        }
+      ]
+    }
+  },
+  "resetOdom": true,
+  "folder": null,
+  "choreoAuto": false
+}
\ No newline at end of file
diff --git a/src/main/deploy/pathplanner/autos/Simple Test (WORKING).auto b/src/main/deploy/pathplanner/autos/Simple Test (WORKING).auto
new file mode 100644 (file)
index 0000000..ed1d866
--- /dev/null
@@ -0,0 +1,55 @@
+{
+  "version": "2025.0",
+  "command": {
+    "type": "sequential",
+    "data": {
+      "commands": [
+        {
+          "type": "wait",
+          "data": {
+            "waitTime": 1.0
+          }
+        },
+        {
+          "type": "named",
+          "data": {
+            "name": "Extend Intake"
+          }
+        },
+        {
+          "type": "named",
+          "data": {
+            "name": "Start Spindexer"
+          }
+        },
+        {
+          "type": "wait",
+          "data": {
+            "waitTime": 1.0
+          }
+        },
+        {
+          "type": "named",
+          "data": {
+            "name": "Stop Spindexer"
+          }
+        },
+        {
+          "type": "named",
+          "data": {
+            "name": "Hood Down"
+          }
+        },
+        {
+          "type": "path",
+          "data": {
+            "pathName": "Simple"
+          }
+        }
+      ]
+    }
+  },
+  "resetOdom": true,
+  "folder": null,
+  "choreoAuto": false
+}
\ No newline at end of file
diff --git a/src/main/deploy/pathplanner/autos/Simple Test.auto b/src/main/deploy/pathplanner/autos/Simple Test.auto
deleted file mode 100644 (file)
index ed1d866..0000000
+++ /dev/null
@@ -1,55 +0,0 @@
-{
-  "version": "2025.0",
-  "command": {
-    "type": "sequential",
-    "data": {
-      "commands": [
-        {
-          "type": "wait",
-          "data": {
-            "waitTime": 1.0
-          }
-        },
-        {
-          "type": "named",
-          "data": {
-            "name": "Extend Intake"
-          }
-        },
-        {
-          "type": "named",
-          "data": {
-            "name": "Start Spindexer"
-          }
-        },
-        {
-          "type": "wait",
-          "data": {
-            "waitTime": 1.0
-          }
-        },
-        {
-          "type": "named",
-          "data": {
-            "name": "Stop Spindexer"
-          }
-        },
-        {
-          "type": "named",
-          "data": {
-            "name": "Hood Down"
-          }
-        },
-        {
-          "type": "path",
-          "data": {
-            "pathName": "Simple"
-          }
-        }
-      ]
-    }
-  },
-  "resetOdom": true,
-  "folder": null,
-  "choreoAuto": false
-}
\ No newline at end of file
index 548cb998aaaa395429c849be8d5da1dc0f86f7c8..a8723266bd821e7bdfb367de533ae6d50d31920a 100644 (file)
         "nominalVoltage": 12.0,
         "unlimited": false
       }
+    },
+    {
+      "name": "Starting Slow",
+      "minWaypointRelativePos": 0.0,
+      "maxWaypointRelativePos": 0.1,
+      "constraints": {
+        "maxVelocity": 0.5,
+        "maxAcceleration": 0.5,
+        "maxAngularVelocity": 200.0,
+        "maxAngularAcceleration": 150.0,
+        "nominalVoltage": 12.0,
+        "unlimited": false
+      }
     }
   ],
   "pointTowardsZones": [],
index 4ad78cf0d2c2d47663207522f9ef5228caed648d..7704aa2a378e45c6a08e4121d899623f09b15fc7 100644 (file)
@@ -137,7 +137,7 @@ public class RobotContainer {
         PathGroupLoader.loadPathGroups();
         // Load the auto command
         try {
-          String leftSideAuto = "Simple Test";
+          String leftSideAuto = "Left Week V1";
           // String rightSideAuto = "Right(2) - Under Trench";
           // String testing = "Straight Test";
           PathPlannerAuto.getPathGroupFromAutoFile(leftSideAuto);