Skip to content

Commit

Permalink
[#519] Paths for States
Browse files Browse the repository at this point in the history
  • Loading branch information
MattD8957 committed Apr 4, 2024
1 parent 8d9b8aa commit a02463a
Show file tree
Hide file tree
Showing 20 changed files with 630 additions and 845 deletions.
3 changes: 2 additions & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,8 @@
"Top side paths"
],
"autoFolders": [
"Saved"
"kinda",
"Done"
],
"defaultMaxVel": 5.0,
"defaultMaxAccel": 5.0,
Expand Down
37 changes: 0 additions & 37 deletions src/main/deploy/pathplanner/autos/1-SB-[F3]-EF.auto

This file was deleted.

37 changes: 0 additions & 37 deletions src/main/deploy/pathplanner/autos/1-SB-[F4]-EF.auto

This file was deleted.

37 changes: 0 additions & 37 deletions src/main/deploy/pathplanner/autos/1-SF-[F3]-EF.auto

This file was deleted.

20 changes: 16 additions & 4 deletions src/main/deploy/pathplanner/autos/2-SF-[C2-F2]-EF.auto
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,12 @@
"data": {
"name": "Cand-Sub"
}
},
{
"type": "wait",
"data": {
"waitTime": 6.0
}
}
]
}
Expand Down Expand Up @@ -44,7 +50,7 @@
}
},
{
"type": "sequential",
"type": "race",
"data": {
"commands": [
{
Expand Down Expand Up @@ -73,14 +79,20 @@
}
},
{
"type": "named",
"type": "wait",
"data": {
"name": "Smart-Shoot"
"waitTime": 2.0
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Smart-Shoot"
}
},
{
"type": "path",
"data": {
Expand All @@ -96,6 +108,6 @@
]
}
},
"folder": null,
"folder": "kinda",
"choreoAuto": false
}
133 changes: 133 additions & 0 deletions src/main/deploy/pathplanner/autos/2-ST-[C1-F1]-EF.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,133 @@
{
"version": 1.0,
"startingPose": null,
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Cand-Sub"
}
},
{
"type": "wait",
"data": {
"waitTime": 6.0
}
}
]
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "deadline",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "ST-C1"
}
},
{
"type": "named",
"data": {
"name": "Smart-Collect"
}
},
{
"type": "named",
"data": {
"name": "preAim"
}
}
]
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "deadline",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Point-At-Speaker"
}
},
{
"type": "named",
"data": {
"name": "preAim"
}
},
{
"type": "named",
"data": {
"name": "Smart-Collect"
}
}
]
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Smart-Shoot"
}
}
]
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "C1-F1"
}
},
{
"type": "named",
"data": {
"name": "Stop-Flywheel"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Chase-Pieces"
}
}
]
}
},
"folder": "Done",
"choreoAuto": false
}
25 changes: 0 additions & 25 deletions src/main/deploy/pathplanner/autos/2-T-[C1-F1]-EF.auto

This file was deleted.

2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/autos/3-B-[F5-F4]-EC.auto
Original file line number Diff line number Diff line change
Expand Up @@ -333,6 +333,6 @@
]
}
},
"folder": "Saved",
"folder": "Done",
"choreoAuto": false
}
Loading

0 comments on commit a02463a

Please sign in to comment.