Skip to content

Commit

Permalink
Merge pull request #4 from OakvilleDynamics/AUTO_PATH
Browse files Browse the repository at this point in the history
auto
  • Loading branch information
garrettsummerfi3ld authored Jan 26, 2024
2 parents baa7d2c + 2706c34 commit d982c8c
Show file tree
Hide file tree
Showing 7 changed files with 896 additions and 1 deletion.
4 changes: 3 additions & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,9 @@
"robotWidth": 0.9,
"robotLength": 0.9,
"holonomicMode": true,
"pathFolders": [],
"pathFolders": [
"New Folder"
],
"autoFolders": [],
"defaultMaxVel": 3.0,
"defaultMaxAccel": 3.0,
Expand Down
130 changes: 130 additions & 0 deletions src/main/deploy/pathplanner/paths/BL Path.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 0.9768671894476314,
"y": 6.963795382379539
},
"prevControl": null,
"nextControl": {
"x": 0.9957017800320328,
"y": 6.94664535958123
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.682149452840573,
"y": 7.12696370376103
},
"prevControl": {
"x": 2.689912568446376,
"y": 7.126964631641936
},
"nextControl": {
"x": 2.67438633723477,
"y": 7.1269627758801235
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.289357896858155,
"y": 7.4351908948681915
},
"prevControl": {
"x": 7.412776437653603,
"y": 7.323945067406474
},
"nextControl": {
"x": 8.322657686837363,
"y": 7.4394169284577
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.682149452840573,
"y": 7.12696370376103
},
"prevControl": {
"x": 2.687481984411307,
"y": 7.110049826653473
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.85,
"rotationDegrees": -89.4767832055039,
"rotateFast": false
},
{
"waypointRelativePos": 1.9,
"rotationDegrees": 0,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [
{
"name": "DUMP",
"waypointRelativePos": 0.95,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 10.0
}
}
]
}
}
},
{
"name": "SUCK",
"waypointRelativePos": 2.0,
"command": {
"type": "parallel",
"data": {
"commands": []
}
}
},
{
"name": "DUMP",
"waypointRelativePos": 3.0,
"command": {
"type": "parallel",
"data": {
"commands": []
}
}
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -89.6793498452957,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": null,
"useDefaultConstraints": false
}
143 changes: 143 additions & 0 deletions src/main/deploy/pathplanner/paths/BMS Path.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,143 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 1.2351646450254707,
"y": 4.245426300459083
},
"prevControl": null,
"nextControl": {
"x": 1.2534448267681257,
"y": 4.2320750220927525
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.5359998591090935,
"y": 5.554813792859646
},
"prevControl": {
"x": 2.544725287549536,
"y": 5.534438486937588
},
"nextControl": {
"x": 2.527274430668651,
"y": 5.575189098781704
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.6754714939551407,
"y": 4.478771646634729
},
"prevControl": {
"x": 2.6862093957477846,
"y": 4.500538804824717
},
"nextControl": {
"x": 2.674023798237698,
"y": 4.475836974451926
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.5359998591090935,
"y": 7.210723977148185
},
"prevControl": {
"x": 2.619182551715437,
"y": 5.145783947479171
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.9,
"rotationDegrees": 0,
"rotateFast": false
},
{
"waypointRelativePos": 1.9,
"rotationDegrees": -56.51419641308341,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [
{
"name": "SHOOT",
"waypointRelativePos": 1.0,
"command": {
"type": "parallel",
"data": {
"commands": []
}
}
},
{
"name": "SUCK",
"waypointRelativePos": 1.15,
"command": {
"type": "parallel",
"data": {
"commands": []
}
}
},
{
"name": "SHOOT",
"waypointRelativePos": 1.15,
"command": {
"type": "parallel",
"data": {
"commands": []
}
}
},
{
"name": "SUCK",
"waypointRelativePos": 2.0,
"command": {
"type": "parallel",
"data": {
"commands": []
}
}
},
{
"name": "DUMP",
"waypointRelativePos": 3.0,
"command": {
"type": "parallel",
"data": {
"commands": []
}
}
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -89.23413306155851,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": null,
"useDefaultConstraints": false
}
Loading

0 comments on commit d982c8c

Please sign in to comment.