Skip to content

Commit

Permalink
added initiate to auton
Browse files Browse the repository at this point in the history
  • Loading branch information
PGgit08 committed Mar 14, 2024
1 parent 7d546f0 commit b63d820
Show file tree
Hide file tree
Showing 8 changed files with 71 additions and 7 deletions.
2 changes: 1 addition & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"curved",
"straight"
],
"defaultMaxVel": 3.0,
"defaultMaxVel": 4.0,
"defaultMaxAccel": 3.0,
"defaultMaxAngVel": 180.0,
"defaultMaxAngAccel": 360.0,
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/get bot c.path
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 180.0,
"maxAngularAcceleration": 360.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/get mid c.path
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 180.0,
"maxAngularAcceleration": 360.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/get top c.path
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 180.0,
"maxAngularAcceleration": 360.0
Expand Down
64 changes: 64 additions & 0 deletions src/main/deploy/pathplanner/paths/initiate.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,64 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 1.31,
"y": 5.51
},
"prevControl": null,
"nextControl": {
"x": 2.69214487146923,
"y": 6.1511252367234075
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 4.53982127337474,
"y": 6.852774503269805
},
"prevControl": {
"x": 3.4557914485422225,
"y": 6.852774503269805
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [
{
"name": "New Constraints Zone",
"minWaypointRelativePos": 0,
"maxWaypointRelativePos": 0.35,
"constraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 180.0,
"maxAngularAcceleration": 360.0
}
}
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 180.0,
"maxAngularAcceleration": 360.0
},
"goalEndState": {
"velocity": 0,
"rotation": 180.0,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": 0,
"velocity": 0
},
"useDefaultConstraints": true
}
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/shoot bot c.path
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 180.0,
"maxAngularAcceleration": 360.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/shoot mid c.path
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 180.0,
"maxAngularAcceleration": 360.0
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/shoot top c.path
Original file line number Diff line number Diff line change
Expand Up @@ -62,7 +62,7 @@
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxVelocity": 4.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 180.0,
"maxAngularAcceleration": 360.0
Expand Down

0 comments on commit b63d820

Please sign in to comment.