Skip to content

Commit

Permalink
[#477] Made more paths
Browse files Browse the repository at this point in the history
  • Loading branch information
MattD8957 committed Mar 26, 2024
1 parent 0517c20 commit 84bae3b
Show file tree
Hide file tree
Showing 24 changed files with 293 additions and 199 deletions.
94 changes: 0 additions & 94 deletions src/main/deploy/pathplanner/autos/2-T-[C1-F1]-EF.auto

This file was deleted.

25 changes: 25 additions & 0 deletions src/main/deploy/pathplanner/autos/3-T-[C1-F1]-EF.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
{
"version": 1.0,
"startingPose": null,
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "T-C1"
}
},
{
"type": "path",
"data": {
"pathName": "C1-F1"
}
}
]
}
},
"folder": "Testing",
"choreoAuto": false
}
37 changes: 37 additions & 0 deletions src/main/deploy/pathplanner/autos/3-T-[F1-F2]-EF.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"version": 1.0,
"startingPose": null,
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "T-F1"
}
},
{
"type": "path",
"data": {
"pathName": "F1-TS"
}
},
{
"type": "path",
"data": {
"pathName": "TS-F2"
}
},
{
"type": "path",
"data": {
"pathName": "F2-TS"
}
}
]
}
},
"folder": "Testing",
"choreoAuto": false
}
25 changes: 19 additions & 6 deletions src/main/deploy/pathplanner/autos/4-SB-[C3-C2-C1-F1]-EF.auto
Original file line number Diff line number Diff line change
Expand Up @@ -101,19 +101,32 @@
}
},
{
"type": "deadline",
"type": "race",
"data": {
"commands": [
{
"type": "named",
"type": "deadline",
"data": {
"name": "Smart-Shoot"
"commands": [
{
"type": "named",
"data": {
"name": "Smart-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Stop-Drive"
}
}
]
}
},
{
"type": "named",
"type": "wait",
"data": {
"name": "Stop-Drive"
"waitTime": 3.0
}
}
]
Expand Down Expand Up @@ -187,7 +200,7 @@
{
"type": "path",
"data": {
"pathName": "C2-C1"
"pathName": "F1-TL"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
{
"type": "path",
"data": {
"pathName": "C2-C1"
"pathName": "F1-TL"
}
},
{
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@
{
"type": "path",
"data": {
"pathName": "C2-C1"
"pathName": "F1-TL"
}
},
{
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/autos/4-SB-[F5-F4-F3]-EC.auto
Original file line number Diff line number Diff line change
Expand Up @@ -302,7 +302,7 @@
{
"type": "path",
"data": {
"pathName": "F3-TS"
"pathName": "F3-Stage"
}
},
{
Expand Down
30 changes: 15 additions & 15 deletions src/main/deploy/pathplanner/paths/F1-TL.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,47 +3,47 @@
"waypoints": [
{
"anchor": {
"x": 6.5632754342431765,
"y": 7.2818037943768195
"x": 3.1098454504601327,
"y": 5.505754088431254
},
"prevControl": null,
"nextControl": {
"x": 5.347797574772656,
"y": 6.8608189262871475
"x": 2.8364283832704595,
"y": 5.691466561249813
},
"isLocked": false,
"linkedName": "F1"
"linkedName": "C2"
},
{
"anchor": {
"x": 5.892323323108186,
"y": 6.5
"x": 2.9026396514331507,
"y": 6.975928567241751
},
"prevControl": {
"x": 7.07635646039915,
"y": 6.995662452859967
"x": 2.914350487978932,
"y": 6.74171183632612
},
"nextControl": null,
"isLocked": false,
"linkedName": "TopLine"
"linkedName": "C1"
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxVelocity": 2.0,
"maxAcceleration": 2.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 8.0,
"rotateFast": false
"rotation": 88.8065105760179,
"rotateFast": true
},
"reversed": false,
"folder": "Return Paths",
"folder": "Top side paths",
"previewStartingState": null,
"useDefaultConstraints": false
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/F1-TS.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 6.5632754342431765,
"y": 7.2818037943768195
},
"prevControl": null,
"nextControl": {
"x": 5.295704057884577,
"y": 7.003080254377342
},
"isLocked": false,
"linkedName": "F1"
},
{
"anchor": {
"x": 4.31199378803893,
"y": 5.5040931765173085
},
"prevControl": {
"x": 4.475945499679871,
"y": 6.874261052373746
},
"nextControl": null,
"isLocked": false,
"linkedName": "TS"
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.0,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0.0,
"rotateFast": false
},
"reversed": false,
"folder": "Return Paths",
"previewStartingState": {
"rotation": 0,
"velocity": 0
},
"useDefaultConstraints": true
}
Loading

0 comments on commit 84bae3b

Please sign in to comment.