Skip to content

Commit

Permalink
chore: made changes to auton (faster)
Browse files Browse the repository at this point in the history
  • Loading branch information
ProgrammingSR committed Mar 27, 2024
1 parent 5b64912 commit 6c5ca12
Show file tree
Hide file tree
Showing 13 changed files with 123 additions and 30 deletions.
2 changes: 1 addition & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@
"holonomicMode": true,
"pathFolders": [],
"autoFolders": [],
"defaultMaxVel": 3.0,
"defaultMaxVel": 4.4,
"defaultMaxAccel": 5.0,
"defaultMaxAngVel": 540.0,
"defaultMaxAngAccel": 720.0,
Expand Down
93 changes: 93 additions & 0 deletions src/main/deploy/pathplanner/autos/3-SourceSide-Stays.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,93 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.8,
"y": 4.4
},
"rotation": -60.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Middle5thNote-Right"
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "Intake in"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "MoveOut-Right"
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "4thNote-Back"
}
},
{
"type": "named",
"data": {
"name": "Intake in"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -8,47 +8,47 @@
},
"prevControl": null,
"nextControl": {
"x": 6.67400445912003,
"y": 2.0808286061016568
"x": 6.845031467840714,
"y": 1.8670448452008017
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 4.821211864645952,
"y": 1.1259278074111705
"x": 5.548076651708859,
"y": 1.3824683204921968
},
"prevControl": {
"x": 5.75271618512509,
"y": 0.7621975489383647
"x": 6.873535969294162,
"y": 1.5107385770327098
},
"nextControl": {
"x": 3.324725538339966,
"y": 1.7102700872068404
"x": 3.995894680748285,
"y": 1.2322571620121414
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 0.6453024017159148,
"x": 0.65,
"y": 4.361188722377445
},
"prevControl": {
"x": 1.6287077018598495,
"x": 1.6334053001439348,
"y": 3.1212429091524863
},
"nextControl": null,
"isLocked": false,
"linkedName": null
"linkedName": "4thNote-Back"
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/5thNote-Back.path
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/CenterNote-Center.path
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/LeftNote-Center.path
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
12 changes: 6 additions & 6 deletions src/main/deploy/pathplanner/paths/Middle5thNote-Right.path
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"prevControl": null,
"nextControl": {
"x": 1.3209445330007905,
"y": 1.4455767409633768
"x": 1.3209445330007907,
"y": 1.445576740963376
},
"isLocked": false,
"linkedName": null
Expand All @@ -24,19 +24,19 @@
"y": 0.6
},
"nextControl": {
"x": 9.049999999999988,
"x": 9.05,
"y": 0.6
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 0.8,
"x": 0.65,
"y": 4.4
},
"prevControl": {
"x": 1.320944533000791,
"x": 1.170944533000791,
"y": 1.4455767409633768
},
"nextControl": null,
Expand All @@ -54,7 +54,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
6 changes: 3 additions & 3 deletions src/main/deploy/pathplanner/paths/Middle5thNote.path
Original file line number Diff line number Diff line change
Expand Up @@ -30,15 +30,15 @@
],
"rotationTargets": [
{
"waypointRelativePos": 0.85,
"rotationDegrees": 0,
"waypointRelativePos": 0.15,
"rotationDegrees": 0.0,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/MoveOut-Left.path
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/MoveOut-Right.path
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/RightNote-Center.path
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/Straight-Back.path
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/testing1.path
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,7 @@
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.4,
"maxAcceleration": 5.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down

0 comments on commit 6c5ca12

Please sign in to comment.