Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

added flee paths and autos so we don't get in the way of other robots #44

Merged
merged 1 commit into from
Feb 3, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
31 changes: 31 additions & 0 deletions src/main/deploy/pathplanner/autos/FleeAmp.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.1333456901148034,
"y": 6.915037974220092
},
"rotation": 0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "initalShotBlueAmp"
}
},
{
"type": "path",
"data": {
"pathName": "FleePathAmp+Mid"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
31 changes: 31 additions & 0 deletions src/main/deploy/pathplanner/autos/FleeMid.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3552185662929883,
"y": 4.779511541005064
},
"rotation": 179.80105712063937
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "initalShotBlueMiddle"
}
},
{
"type": "path",
"data": {
"pathName": "FleePathAmp+Mid"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
31 changes: 31 additions & 0 deletions src/main/deploy/pathplanner/autos/FleeSource.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.28,
"y": 2.87
},
"rotation": 0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "initalShotBlueSource"
}
},
{
"type": "path",
"data": {
"pathName": "FleePathSource"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
49 changes: 49 additions & 0 deletions src/main/deploy/pathplanner/paths/FleePathAmp+Mid.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 3.3937941380156262,
"y": 6.677362186633205
},
"prevControl": null,
"nextControl": {
"x": 4.259161566756181,
"y": 7.156822518773243
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 5.147917304381616,
"y": 7.507647152046441
},
"prevControl": {
"x": 3.463959064670265,
"y": 6.501949869996606
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.0,
"maxAcceleration": 4.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0,
"rotateFast": false
},
"reversed": false,
"folder": "Initial Shots",
"previewStartingState": null,
"useDefaultConstraints": false
}
49 changes: 49 additions & 0 deletions src/main/deploy/pathplanner/paths/FleePathSource.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,49 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.29,
"y": 3.54
},
"prevControl": null,
"nextControl": {
"x": 3.29,
"y": 3.04
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 4.42287972895034,
"y": 0.5964018765644384
},
"prevControl": {
"x": 3.873254470155663,
"y": 1.7658173208084325
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.0,
"maxAcceleration": 4.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0,
"rotateFast": false
},
"reversed": false,
"folder": "Initial Shots",
"previewStartingState": null,
"useDefaultConstraints": false
}
4 changes: 2 additions & 2 deletions src/main/deploy/pathplanner/paths/initalShotBlueMiddle.path
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
{
"anchor": {
"x": 2.233465367831636,
"y": 5.445130169539619
"y": 5.45
},
"prevControl": {
"x": 2.0115924916534516,
"y": 5.250991402883707
"y": 5.255861233344088
},
"nextControl": null,
"isLocked": false,
Expand Down
18 changes: 9 additions & 9 deletions src/main/deploy/pathplanner/paths/initalShotBlueSource.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
"waypoints": [
{
"anchor": {
"x": 1.28126094090026,
"y": 2.8658579839682212
"x": 1.28,
"y": 2.87
},
"prevControl": null,
"nextControl": {
"x": 1.6787831773861743,
"y": 3.0599967506241326
"x": 1.6775222364859144,
"y": 3.0641387666559114
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.288933586876183,
"y": 3.540721315676866
"x": 2.29,
"y": 3.54
},
"prevControl": {
"x": 1.8174537249975398,
"y": 3.170933188713225
"x": 1.818520138121357,
"y": 3.170211873036359
},
"nextControl": null,
"isLocked": false,
Expand Down Expand Up @@ -57,7 +57,7 @@
},
"goalEndState": {
"velocity": 0,
"rotation": 130.6676860168115,
"rotation": 130.67,
"rotateFast": false
},
"reversed": false,
Expand Down
Loading