Skip to content

Commit

Permalink
Merge pull request #55 from 2491-NoMythic/AutoWork
Browse files Browse the repository at this point in the history
  • Loading branch information
veggie2u authored Feb 10, 2024
2 parents 8b18bea + 041353e commit 8b5e46e
Show file tree
Hide file tree
Showing 37 changed files with 384 additions and 229 deletions.
4 changes: 2 additions & 2 deletions .pathplanner/settings.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"robotWidth": 0.9,
"robotLength": 0.9,
"robotWidth": 0.81,
"robotLength": 0.813,
"holonomicMode": true,
"pathFolders": [
"Collect Notes",
Expand Down
16 changes: 11 additions & 5 deletions src/main/deploy/pathplanner/autos/FleeAmp.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,25 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.1333456901148034,
"y": 6.915037974220092
"x": 0.7523718013035084,
"y": 6.631709206478911
},
"rotation": 0
"rotation": -120.37688046831643
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"type": "named",
"data": {
"name": "initialShot"
}
},
{
"type": "wait",
"data": {
"pathName": "initalShotBlueAmp"
"waitTime": 1.0
}
},
{
Expand Down
14 changes: 10 additions & 4 deletions src/main/deploy/pathplanner/autos/FleeMid.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3552185662929883,
"y": 4.779511541005064
"x": 1.3074487833435935,
"y": 5.52155524239874
},
"rotation": 179.80105712063937
},
Expand All @@ -12,9 +12,15 @@
"data": {
"commands": [
{
"type": "path",
"type": "named",
"data": {
"name": "initialShot"
}
},
{
"type": "wait",
"data": {
"pathName": "initalShotBlueMiddle"
"waitTime": 1.25
}
},
{
Expand Down
16 changes: 11 additions & 5 deletions src/main/deploy/pathplanner/autos/FleeSource.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,19 +2,25 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.28,
"y": 2.87
"x": 0.7523718013035084,
"y": 4.450354048988052
},
"rotation": 0
"rotation": 120.69972255081439
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"type": "named",
"data": {
"name": "initialShot"
}
},
{
"type": "wait",
"data": {
"pathName": "initalShotBlueSource"
"waitTime": 1.25
}
},
{
Expand Down
12 changes: 6 additions & 6 deletions src/main/deploy/pathplanner/autos/ShuffleShoot.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 0.7434431971001721,
"y": 2.17419608235891
"x": 0.7328954159687686,
"y": 4.421139470985942
},
"rotation": 0
"rotation": 119.74488129694214
},
"command": {
"type": "sequential",
Expand All @@ -14,13 +14,13 @@
{
"type": "named",
"data": {
"name": "intakeOn"
"name": "initialShot"
}
},
{
"type": "named",
"type": "wait",
"data": {
"name": "shooterOn"
"waitTime": 1.25
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3182397535966242,
"y": 3.096975563320497
"x": 0.7621099939708783,
"y": 4.4600922416554205
},
"rotation": 126.75928817029215
"rotation": 121.21840276434641
},
"command": {
"type": "sequential",
Expand All @@ -14,13 +14,13 @@
{
"type": "named",
"data": {
"name": "shooterOn"
"name": "initialShot"
}
},
{
"type": "path",
"type": "wait",
"data": {
"pathName": "initalShotBlueSource"
"waitTime": 1.25
}
},
{
Expand All @@ -35,6 +35,12 @@
"pathName": "BlueSourceShoot5"
}
},
{
"type": "named",
"data": {
"name": "shootNote"
}
},
{
"type": "path",
"data": {
Expand All @@ -47,6 +53,12 @@
"pathName": "BlueSourceShoot4"
}
},
{
"type": "named",
"data": {
"name": "shootNote"
}
},
{
"type": "path",
"data": {
Expand All @@ -58,6 +70,12 @@
"data": {
"pathName": "BlueMiddleShoot3"
}
},
{
"type": "named",
"data": {
"name": "shootNote"
}
}
]
}
Expand Down
14 changes: 10 additions & 4 deletions src/main/deploy/pathplanner/autos/StartAmpScore3Close.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.087122174244349,
"y": 7.036539787365289
"x": 0.7523718013035084,
"y": 6.641447399146282
},
"rotation": 0
"rotation": -120.96375653207352
},
"command": {
"type": "sequential",
Expand All @@ -14,7 +14,13 @@
{
"type": "named",
"data": {
"name": "intakeOn"
"name": "initialShot"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.25
}
},
{
Expand Down
20 changes: 13 additions & 7 deletions src/main/deploy/pathplanner/autos/StartMLeft3.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.4649253051475237,
"y": 4.114397967513275
"x": 1.3171869760109631,
"y": 5.560508013068222
},
"rotation": 0
"rotation": 180.0
},
"command": {
"type": "sequential",
Expand All @@ -14,7 +14,13 @@
{
"type": "named",
"data": {
"name": "intakeOn"
"name": "initialShot"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.25
}
},
{
Expand All @@ -32,7 +38,7 @@
{
"type": "named",
"data": {
"name": "shooterOn"
"name": "shootNote"
}
},
{
Expand All @@ -50,7 +56,7 @@
{
"type": "named",
"data": {
"name": "shooterOn"
"name": "shootNote"
}
},
{
Expand All @@ -68,7 +74,7 @@
{
"type": "named",
"data": {
"name": "shooterOn"
"name": "shootNote"
}
}
]
Expand Down
20 changes: 13 additions & 7 deletions src/main/deploy/pathplanner/autos/StartMRight3.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,10 +2,10 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.4649253051475237,
"y": 3.17842117869509
"x": 1.3171869760109631,
"y": 5.531293435066112
},
"rotation": 0
"rotation": 180.0
},
"command": {
"type": "sequential",
Expand All @@ -14,7 +14,13 @@
{
"type": "named",
"data": {
"name": "intakeOn"
"name": "initialShot"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.25
}
},
{
Expand All @@ -32,7 +38,7 @@
{
"type": "named",
"data": {
"name": "shooterOn"
"name": "shootNote"
}
},
{
Expand All @@ -50,7 +56,7 @@
{
"type": "named",
"data": {
"name": "shooterOn"
"name": "shootNote"
}
},
{
Expand All @@ -68,7 +74,7 @@
{
"type": "named",
"data": {
"name": "shooterOn"
"name": "shootNote"
}
}
]
Expand Down
12 changes: 6 additions & 6 deletions src/main/deploy/pathplanner/paths/Blue2AutoPickup.path
Original file line number Diff line number Diff line change
Expand Up @@ -16,16 +16,16 @@
},
{
"anchor": {
"x": 7.5585241906825855,
"y": 5.937602754065366
"x": 7.491201127123489,
"y": 5.940297527095648
},
"prevControl": {
"x": 7.231087866294267,
"y": 6.007767680720005
"x": 7.16376480273517,
"y": 6.0104624537502875
},
"nextControl": null,
"isLocked": false,
"linkedName": "CollectNote2Blue"
"linkedName": null
}
],
"rotationTargets": [
Expand Down Expand Up @@ -54,7 +54,7 @@
"rotateFast": false
},
"reversed": false,
"folder": "Collect Notes",
"folder": null,
"previewStartingState": null,
"useDefaultConstraints": false
}
Loading

0 comments on commit 8b5e46e

Please sign in to comment.