Skip to content

Commit

Permalink
Auto - DCMP changes (#45)
Browse files Browse the repository at this point in the history
* tuned center-line path

* auton comp changes

---------

Co-authored-by: ProgrammingSR <[email protected]>
  • Loading branch information
ReeledWarrior14 and ProgrammingSR authored Apr 17, 2024
1 parent b9c849e commit 40b4557
Show file tree
Hide file tree
Showing 4 changed files with 149 additions and 24 deletions.
19 changes: 19 additions & 0 deletions src/main/deploy/pathplanner/autos/Souce-CenterlineSweep.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
{
"version": 1.0,
"startingPose": null,
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Source-Centerline-Sweep"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
24 changes: 12 additions & 12 deletions src/main/deploy/pathplanner/paths/Middle4thNote-Right.path
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@
},
{
"anchor": {
"x": 7.75,
"y": 2.45
"x": 7.991726840596539,
"y": 2.550745672919918
},
"prevControl": {
"x": 7.550468489825868,
"y": 2.435747749273277
"x": 7.792195330422407,
"y": 2.5364934221931947
},
"nextControl": {
"x": 8.916061262246275,
"y": 2.5332900901604463
"x": 9.157788102842815,
"y": 2.634035763080364
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 0.8305816611633227,
"y": 4.375440973104168
"x": 1.0158609206107305,
"y": 4.517963480371405
},
"prevControl": {
"x": 2.79739226145119,
"y": 0.028504501453447222
"x": 2.982671520898598,
"y": 0.17102700872068394
},
"nextControl": null,
"isLocked": false,
Expand All @@ -61,13 +61,13 @@
},
"goalEndState": {
"velocity": 0,
"rotation": -60.46371417686636,
"rotation": -50.61758059012676,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": -48.9909130984298,
"rotation": -45.41467873893242,
"velocity": 0
},
"useDefaultConstraints": true
Expand Down
24 changes: 12 additions & 12 deletions src/main/deploy/pathplanner/paths/Middle5thNote-Right.path
Original file line number Diff line number Diff line change
Expand Up @@ -16,28 +16,28 @@
},
{
"anchor": {
"x": 8.25,
"y": 0.75
"x": 8.284915998403426,
"y": 0.8062701839689397
},
"prevControl": {
"x": 7.25,
"y": 0.75
"x": 7.2849159984034255,
"y": 0.8062701839689397
},
"nextControl": {
"x": 9.249999999999988,
"y": 0.75
"x": 9.284915998403413,
"y": 0.8062701839689397
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 0.8305816611633227,
"y": 4.375440973104168
"x": 1.1311005479153822,
"y": 4.808302188032948
},
"prevControl": {
"x": 2.7261310078175716,
"y": 1.0404143030508277
"x": 3.0266498945696307,
"y": 1.4732755179796073
},
"nextControl": null,
"isLocked": false,
Expand All @@ -61,13 +61,13 @@
},
"goalEndState": {
"velocity": 0,
"rotation": -60.46371417686636,
"rotation": -38.18615248470486,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": -48.9909130984298,
"rotation": -49.42697164747932,
"velocity": 0
},
"useDefaultConstraints": true
Expand Down
106 changes: 106 additions & 0 deletions src/main/deploy/pathplanner/paths/Source-Centerline-Sweep.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 0.8525708479988394,
"y": 4.441815740774339
},
"prevControl": null,
"nextControl": {
"x": 1.204397837367104,
"y": 1.5392430784861582
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 3.725824594506332,
"y": 1.2900322943503038
},
"prevControl": {
"x": 2.4032775457689963,
"y": 1.3250666532572533
},
"nextControl": {
"x": 5.939402735948329,
"y": 1.2313944627889262
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.387532203635836,
"y": 1.055480968104794
},
"prevControl": {
"x": 8.37287274574549,
"y": 0.5277404840523967
},
"nextControl": {
"x": 8.43565850674609,
"y": 2.788027880073846
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.09434304582895,
"y": 7.168474908378388
},
"prevControl": {
"x": 8.929932145578578,
"y": 6.714031713777714
},
"nextControl": {
"x": 7.4241868331530325,
"y": 7.532945831061782
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 5.8514459886062635,
"y": 7.168474908378388
},
"prevControl": {
"x": 6.7016945462462365,
"y": 7.080518161036323
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.5,
"rotationDegrees": -135.02414156515954,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -139.96974072811037,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": 125.53767779197439,
"velocity": 0
},
"useDefaultConstraints": false
}

0 comments on commit 40b4557

Please sign in to comment.