Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
  • Loading branch information
mvog2501 committed Apr 13, 2024
2 parents 5148332 + 7af31e6 commit a00058d
Show file tree
Hide file tree
Showing 8 changed files with 357 additions and 15 deletions.
4 changes: 2 additions & 2 deletions Robot/src/main/deploy/pathplanner/autos/Amp Standard.auto
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@
"version": 1.0,
"startingPose": {
"position": {
"x": 1.4076040330792177,
"y": 6.501863470968227
"x": 1.3576779647621067,
"y": 5.537862667174266
},
"rotation": 180.0
},
Expand Down
99 changes: 99 additions & 0 deletions Robot/src/main/deploy/pathplanner/autos/Big Amp.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3576779647621067,
"y": 5.537862667174266
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot Quick"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Start Center"
}
},
{
"type": "named",
"data": {
"name": "Intake Until Note"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Wait and Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "Big"
}
},
{
"type": "path",
"data": {
"pathName": "Amp Center B Score"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Amp Big Grab"
}
},
{
"type": "named",
"data": {
"name": "Intake Until Note"
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "Amp Big 2"
}
},
{
"type": "named",
"data": {
"name": "Wait and Shoot"
}
}
]
}
},
"folder": "Amp",
"choreoAuto": false
}
121 changes: 121 additions & 0 deletions Robot/src/main/deploy/pathplanner/paths/Amp Big 2.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,121 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 7.826477083509722,
"y": 7.278268139869613
},
"prevControl": null,
"nextControl": {
"x": 6.48278676186982,
"y": 6.812338309861805
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.019694446796301,
"y": 5.627263661934732
},
"prevControl": {
"x": 2.226070343520841,
"y": 5.094105163224486
},
"nextControl": {
"x": 1.7737837373822898,
"y": 6.26255773807844
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.422201761070189,
"y": 6.691194178684653
},
"prevControl": {
"x": 2.217385041251564,
"y": 6.334115913602198
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 1,
"rotationDegrees": -177.42927740270125,
"rotateFast": false
}
],
"constraintZones": [
{
"name": "New Constraints Zone",
"minWaypointRelativePos": 0.8,
"maxWaypointRelativePos": 1.65,
"constraints": {
"maxVelocity": 2.0,
"maxAcceleration": 1.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 640.0
}
}
],
"eventMarkers": [
{
"name": "New Event Marker",
"waypointRelativePos": 0.9,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot"
}
}
]
}
}
},
{
"name": "New Event Marker",
"waypointRelativePos": 1.25,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Until Note"
}
}
]
}
}
}
],
"globalConstraints": {
"maxVelocity": 5.7,
"maxAcceleration": 3.8,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 640.0
},
"goalEndState": {
"velocity": 0,
"rotation": -151.81911839173182,
"rotateFast": false
},
"reversed": false,
"folder": "Amp",
"previewStartingState": {
"rotation": -156.88196151115196,
"velocity": 0
},
"useDefaultConstraints": true
}
52 changes: 52 additions & 0 deletions Robot/src/main/deploy/pathplanner/paths/Amp Big Grab.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 4.889100989964744,
"y": 6.365827630508831
},
"prevControl": null,
"nextControl": {
"x": 5.969586966951711,
"y": 6.685730815906077
},
"isLocked": false,
"linkedName": "End of Center A Score"
},
{
"anchor": {
"x": 7.847677306465724,
"y": 7.277852449223417
},
"prevControl": {
"x": 6.681486890751559,
"y": 6.895773360991167
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.7,
"maxAcceleration": 3.8,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 640.0
},
"goalEndState": {
"velocity": 0,
"rotation": -164.3642248391341,
"rotateFast": false
},
"reversed": false,
"folder": "Amp",
"previewStartingState": {
"rotation": -172.00447350996492,
"velocity": 0
},
"useDefaultConstraints": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
},
{
"anchor": {
"x": 7.9875135522242555,
"y": 7.292819146208364
"x": 7.720000893705491,
"y": 7.225534812180736
},
"prevControl": {
"x": 7.041787005189215,
"y": 7.20507132225666
"x": 6.77427434667045,
"y": 7.137786988229031
},
"nextControl": null,
"isLocked": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"waypoints": [
{
"anchor": {
"x": 7.9875135522242555,
"y": 7.292819146208364
"x": 7.720000893705491,
"y": 7.225534812180736
},
"prevControl": null,
"nextControl": {
"x": 6.983288455888077,
"y": 7.029575674353249
"x": 6.715775797369312,
"y": 6.962291340325621
},
"isLocked": false,
"linkedName": "End of Amp Center A Grab"
Expand Down
10 changes: 5 additions & 5 deletions Robot/src/main/deploy/pathplanner/paths/Amp Center B Score.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"waypoints": [
{
"anchor": {
"x": 7.627078046178885,
"y": 5.952324611201929
"x": 7.65990390314114,
"y": 6.022347928955117
},
"prevControl": null,
"nextControl": {
"x": 6.847097388830397,
"y": 6.478811554912159
"x": 6.879923245792652,
"y": 6.548834872665347
},
"isLocked": false,
"linkedName": null
Expand Down Expand Up @@ -45,7 +45,7 @@
"reversed": false,
"folder": "Amp",
"previewStartingState": {
"rotation": 177.51044707800088,
"rotation": 165.214315161699,
"velocity": 0
},
"useDefaultConstraints": true
Expand Down
Loading

0 comments on commit a00058d

Please sign in to comment.