Skip to content

Commit

Permalink
PHR 3/3
Browse files Browse the repository at this point in the history
  • Loading branch information
ControlsNarwhal committed Mar 5, 2024
1 parent 302f8a3 commit 6fbde78
Show file tree
Hide file tree
Showing 43 changed files with 349 additions and 101 deletions.
2 changes: 1 addition & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"pathFolders": [],
"autoFolders": [],
"defaultMaxVel": 5.5,
"defaultMaxAccel": 3.0,
"defaultMaxAccel": 6.0,
"defaultMaxAngVel": 540.0,
"defaultMaxAngAccel": 720.0,
"maxModuleSpeed": 5.5
Expand Down
1 change: 1 addition & 0 deletions simgui.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
"/FMSInfo": "FMSInfo",
"/Shuffleboard/Climber/PID_Controller": "ProfiledPIDController",
"/Shuffleboard/Commands/Climber": "Subsystem",
"/Shuffleboard/Commands/CommandScheduler": "Scheduler",
"/Shuffleboard/Commands/IntakePivot": "Subsystem",
"/Shuffleboard/Commands/IntakeRollers": "Subsystem",
"/Shuffleboard/Commands/Shooter": "Subsystem",
Expand Down
61 changes: 61 additions & 0 deletions src/main/deploy/pathplanner/autos/fu.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,61 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.43,
"y": 7.67
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "RushE"
}
},
{
"type": "path",
"data": {
"pathName": "note2.1-wing"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "wing-note2.2"
}
},
{
"type": "path",
"data": {
"pathName": "note2.2-wing"
}
},
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "wing-note2.3"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
31 changes: 31 additions & 0 deletions src/main/deploy/pathplanner/autos/su.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.4311279977766789,
"y": 7.67
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot2"
}
},
{
"type": "path",
"data": {
"pathName": "suicide"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
70 changes: 70 additions & 0 deletions src/main/deploy/pathplanner/paths/RushE.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,70 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 1.43,
"y": 7.67
},
"prevControl": null,
"nextControl": {
"x": 2.4299999999999997,
"y": 7.67
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.3,
"y": 7.39
},
"prevControl": {
"x": 7.3876653736703775,
"y": 7.799445392696006
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [
{
"name": "Intake",
"waypointRelativePos": 0,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
}
}
}
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 180.0,
"rotateFast": true
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": 0,
"velocity": 0
},
"useDefaultConstraints": false
}
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/bottom-note1.3.path
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/bottom-note2.4.path
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/bottom-note2.5.path
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/leave.path
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/midBottom-note1.3.path
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
6 changes: 3 additions & 3 deletions src/main/deploy/pathplanner/paths/midBottom-note2.3.path
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
{
"anchor": {
"x": 7.8,
"y": 4.05
"y": 4.15
},
"prevControl": {
"x": 6.3,
"y": 4.05
"y": 4.15
},
"nextControl": null,
"isLocked": false,
Expand Down Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
10 changes: 5 additions & 5 deletions src/main/deploy/pathplanner/paths/midTop-note1.1.path
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
},
{
"anchor": {
"x": 7.75,
"y": 7.45
"x": 8.3,
"y": 7.39
},
"prevControl": {
"x": 4.75,
"y": 7.45
"x": 5.300000000000001,
"y": 7.39
},
"nextControl": null,
"isLocked": false,
Expand Down Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/middle-note1.2.path
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/middle-note1.3.path
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/note1.1-leave.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/note1.1-note1.2.path
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
10 changes: 5 additions & 5 deletions src/main/deploy/pathplanner/paths/note1.1-note2.1.path
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
},
{
"anchor": {
"x": 7.75,
"y": 7.45
"x": 8.3,
"y": 7.39
},
"prevControl": {
"x": 7.652000140544798,
"y": 7.430099559131505
"x": 8.202000140544799,
"y": 7.370099559131504
},
"nextControl": null,
"isLocked": false,
Expand Down Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/note1.2-note1.1.path
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/note1.2-note1.3.path
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
6 changes: 3 additions & 3 deletions src/main/deploy/pathplanner/paths/note1.2-note2.3.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,11 +33,11 @@
{
"anchor": {
"x": 7.8,
"y": 4.05
"y": 4.15
},
"prevControl": {
"x": 6.8,
"y": 4.05
"y": 4.15
},
"nextControl": null,
"isLocked": false,
Expand Down Expand Up @@ -67,7 +67,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/note1.3-leave.path
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/note1.3-midLine.path
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
],
"globalConstraints": {
"maxVelocity": 5.5,
"maxAcceleration": 3.0,
"maxAcceleration": 6.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
Expand Down
Loading

0 comments on commit 6fbde78

Please sign in to comment.