Skip to content

Commit

Permalink
Added paths for Right and Left starting locations
Browse files Browse the repository at this point in the history
  • Loading branch information
ReeledWarrior14 committed Mar 7, 2024
1 parent 2a03f54 commit 3ba51c7
Show file tree
Hide file tree
Showing 11 changed files with 406 additions and 33 deletions.
44 changes: 44 additions & 0 deletions src/main/deploy/pathplanner/autos/1-Leave-Delayed.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,44 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.75,
"y": 6.75
},
"rotation": 60.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "wait",
"data": {
"waitTime": 12.0
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "MoveOut-Left"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
63 changes: 63 additions & 0 deletions src/main/deploy/pathplanner/autos/2-Center-Stays.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,63 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3470318873095533,
"y": 5.5216374597852385
},
"rotation": 0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "path",
"data": {
"pathName": "CenterNote-Center"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
56 changes: 56 additions & 0 deletions src/main/deploy/pathplanner/autos/2-Right-Leave.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,56 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.7516461186768542,
"y": 4.35
},
"rotation": -60.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Middle5thNote-Right"
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "MoveOut-Right"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -18,15 +18,9 @@
}
},
{
"type": "parallel",
"type": "deadline",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
},
{
"type": "sequential",
"data": {
Expand All @@ -40,11 +34,17 @@
{
"type": "path",
"data": {
"pathName": "CenterNote"
"pathName": "CenterNote-Center"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
Expand All @@ -56,15 +56,9 @@
}
},
{
"type": "parallel",
"type": "deadline",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
},
{
"type": "sequential",
"data": {
Expand All @@ -78,11 +72,17 @@
{
"type": "path",
"data": {
"pathName": "LeftNote"
"pathName": "LeftNote-Center"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
Expand All @@ -94,15 +94,9 @@
}
},
{
"type": "parallel",
"type": "deadline",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
},
{
"type": "sequential",
"data": {
Expand All @@ -116,11 +110,17 @@
{
"type": "path",
"data": {
"pathName": "RightNote"
"pathName": "RightNote-Center"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
Expand Down
74 changes: 74 additions & 0 deletions src/main/deploy/pathplanner/paths/Middle5thNote-Right.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 0.75,
"y": 4.35
},
"prevControl": null,
"nextControl": {
"x": 1.2709445330007911,
"y": 1.3955767409633761
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.043316855864482,
"y": 0.7104198823782273
},
"prevControl": {
"x": 7.043316855864482,
"y": 0.7104198823782273
},
"nextControl": {
"x": 9.04331685586447,
"y": 0.7104198823782273
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 0.75,
"y": 4.35
},
"prevControl": {
"x": 1.2709445330007911,
"y": 1.3955767409633757
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.85,
"rotationDegrees": 0,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -60.46371417686636,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": -60.067304943288455,
"velocity": 0
},
"useDefaultConstraints": true
}
Loading

0 comments on commit 3ba51c7

Please sign in to comment.