Skip to content

Commit

Permalink
new GF auto
Browse files Browse the repository at this point in the history
  • Loading branch information
witherslayer67 committed Apr 20, 2024
1 parent e71f92e commit aa2e9df
Show file tree
Hide file tree
Showing 3 changed files with 226 additions and 0 deletions.
106 changes: 106 additions & 0 deletions src/main/deploy/pathplanner/autos/Source-side + GF.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,106 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.31,
"y": 4.05
},
"rotation": -45.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Startup delay"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "SS Angled Line to G"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.25
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Intake note"
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "G to source-side shot"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake note"
}
},
{
"type": "path",
"data": {
"pathName": "Source-side shot to F"
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "F to source-side shot"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
}
]
}
},
"folder": "Source-side",
"choreoAuto": false
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/F to source-side shot.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 8.28,
"y": 4.1
},
"prevControl": null,
"nextControl": {
"x": 7.062149537026346,
"y": 1.5167813517445219
},
"isLocked": false,
"linkedName": "F Note"
},
{
"anchor": {
"x": 2.0,
"y": 3.610224674994805
},
"prevControl": {
"x": 3.604544299997691,
"y": 0.29851986976701333
},
"nextControl": null,
"isLocked": false,
"linkedName": "Source-side angle shot"
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.2,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -36.0,
"rotateFast": false
},
"reversed": false,
"folder": "Source Side",
"previewStartingState": {
"rotation": 35.0,
"velocity": 0
},
"useDefaultConstraints": false
}
68 changes: 68 additions & 0 deletions src/main/deploy/pathplanner/paths/Source-side shot to F.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,68 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.0,
"y": 3.610224674994805
},
"prevControl": null,
"nextControl": {
"x": 3.2918102329943486,
"y": 1.6741677848293097
},
"isLocked": false,
"linkedName": "Source-side angle shot"
},
{
"anchor": {
"x": 3.9300858626225312,
"y": 3.166630432833967
},
"prevControl": {
"x": 3.250503372646664,
"y": 2.621246790552412
},
"nextControl": {
"x": 4.760378465300759,
"y": 3.832963086319733
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.28,
"y": 4.1
},
"prevControl": {
"x": 4.114208443085939,
"y": 4.141362415104079
},
"nextControl": null,
"isLocked": false,
"linkedName": "F Note"
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxAcceleration": 3.4,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0.0,
"rotateFast": false
},
"reversed": false,
"folder": "Source Side",
"previewStartingState": {
"rotation": -45.0,
"velocity": 0
},
"useDefaultConstraints": false
}

0 comments on commit aa2e9df

Please sign in to comment.