Skip to content

Commit

Permalink
Trap score tweaked, middle race improved, initial source race
Browse files Browse the repository at this point in the history
  • Loading branch information
frc1987 committed May 17, 2024
1 parent 6cf2b6f commit 2032164
Show file tree
Hide file tree
Showing 13 changed files with 415 additions and 15 deletions.
1 change: 1 addition & 0 deletions .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
"GKC Amp",
"GKC Source",
"Middle Race",
"Source_5-4",
"amp_side",
"lame",
"source_side",
Expand Down
6 changes: 6 additions & 0 deletions src/main/deploy/pathplanner/autos/Middle Race Cleanup.auto
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "ShootSubwooferFirstHalf"
}
},
{
"type": "parallel",
"data": {
Expand Down
79 changes: 79 additions & 0 deletions src/main/deploy/pathplanner/autos/Source Race 5-4.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,79 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.39,
"y": 1.57
},
"rotation": 0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Source_5-4_a"
}
},
{
"type": "named",
"data": {
"name": "AutoAimAndShoot"
}
},
{
"type": "path",
"data": {
"pathName": "Source_5-4_b"
}
},
{
"type": "named",
"data": {
"name": "AutoCollectNote"
}
},
{
"type": "named",
"data": {
"name": "PathFindToSourceShot"
}
},
{
"type": "named",
"data": {
"name": "AutoAimAndShoot"
}
},
{
"type": "path",
"data": {
"pathName": "Source_5-4_c"
}
},
{
"type": "named",
"data": {
"name": "AutoCollectNote"
}
},
{
"type": "named",
"data": {
"name": "PathFindToSourceShot"
}
},
{
"type": "named",
"data": {
"name": "AutoAimAndShoot"
}
}
]
}
},
"folder": "IRI",
"choreoAuto": false
}
12 changes: 6 additions & 6 deletions src/main/deploy/pathplanner/paths/Middle Race 2 Success.path
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"prevControl": null,
"nextControl": {
"x": 4.534074173710932,
"y": 4.508819045102521
"x": 4.6120192584713875,
"y": 4.728852252843395
},
"isLocked": false,
"linkedName": "middle_race_1_end"
Expand All @@ -20,12 +20,12 @@
"y": 5.545689939904186
},
"prevControl": {
"x": 3.7794417368188835,
"y": 5.079999454927962
"x": 3.8341330839924415,
"y": 5.357907257770535
},
"nextControl": {
"x": 2.2307833206823586,
"y": 5.894957803636354
"x": 2.159036728303594,
"y": 5.692667822170061
},
"isLocked": false,
"linkedName": null
Expand Down
185 changes: 185 additions & 0 deletions src/main/deploy/pathplanner/paths/Source_5-4_a.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,185 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 1.39,
"y": 1.57
},
"prevControl": null,
"nextControl": {
"x": 2.3559258262890683,
"y": 1.3111809548974793
},
"isLocked": false,
"linkedName": "source_race_start"
},
{
"anchor": {
"x": 7.9,
"y": 0.75
},
"prevControl": {
"x": 6.9,
"y": 0.75
},
"nextControl": {
"x": 8.9,
"y": 0.75
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.294906624680149,
"y": 1.75
},
"prevControl": {
"x": 8.294906624680149,
"y": 1.0696015291969474
},
"nextControl": {
"x": 8.294906624680149,
"y": 3.25
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 5.337328917134686,
"y": 1.8947383787418037
},
"prevControl": {
"x": 5.997467039336302,
"y": 1.6544677517560307
},
"nextControl": {
"x": 4.6325594515452515,
"y": 2.1512534862360564
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 3.5745727825005997,
"y": 2.9853194908936116
},
"prevControl": {
"x": 4.393724826789591,
"y": 2.411743054542565
},
"nextControl": null,
"isLocked": true,
"linkedName": "source_5-4_a_end"
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.4,
"rotationDegrees": -35.0,
"rotateFast": false
},
{
"waypointRelativePos": 1,
"rotationDegrees": 0.0,
"rotateFast": false
},
{
"waypointRelativePos": 2,
"rotationDegrees": 90.0,
"rotateFast": false
},
{
"waypointRelativePos": 3,
"rotationDegrees": -21.497331108184007,
"rotateFast": false
}
],
"constraintZones": [
{
"name": "Slow Poop 5",
"minWaypointRelativePos": 1.0,
"maxWaypointRelativePos": 1.65,
"constraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 360.0
}
}
],
"eventMarkers": [
{
"name": "Poop Prep",
"waypointRelativePos": 0.0,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "PoopPrep"
}
}
]
}
}
},
{
"name": "Poop Preload",
"waypointRelativePos": 0.35,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "PoopStart"
}
}
]
}
}
},
{
"name": "Intake 4",
"waypointRelativePos": 1.65,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "IntakeNoteAuto"
}
}
]
}
}
}
],
"globalConstraints": {
"maxVelocity": 5.0,
"maxAcceleration": 4.25,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 360.0
},
"goalEndState": {
"velocity": 0,
"rotation": -29.626989153286004,
"rotateFast": false
},
"reversed": false,
"folder": "Source_5-4",
"previewStartingState": {
"rotation": 0.0,
"velocity": 0
},
"useDefaultConstraints": false
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/Source_5-4_b.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 3.5745727825005997,
"y": 2.9853194908936116
},
"prevControl": null,
"nextControl": {
"x": 4.336325427714513,
"y": 2.2644766509151077
},
"isLocked": false,
"linkedName": "source_5-4_a_end"
},
{
"anchor": {
"x": 5.1371265490650195,
"y": 1.8184062559531378
},
"prevControl": {
"x": 4.294084321457229,
"y": 2.3051369130007173
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 360.0
},
"goalEndState": {
"velocity": 1.5,
"rotation": -30.0,
"rotateFast": false
},
"reversed": false,
"folder": "Source_5-4",
"previewStartingState": {
"rotation": -35.0,
"velocity": 0
},
"useDefaultConstraints": true
}
Loading

0 comments on commit 2032164

Please sign in to comment.