Skip to content

Commit

Permalink
MSC
Browse files Browse the repository at this point in the history
  • Loading branch information
hardy-ethan committed Apr 12, 2024
1 parent 44507d1 commit f0ab7f1
Show file tree
Hide file tree
Showing 22 changed files with 377 additions and 100 deletions.
74 changes: 74 additions & 0 deletions src/main/deploy/pathplanner/paths/Clear Middle.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 0.4585613729632017,
"y": 2.104947799639189
},
"prevControl": null,
"nextControl": {
"x": 1.458561372963201,
"y": 2.104947799639189
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 7.755713745045723,
"y": 0.877061583182996
},
"prevControl": {
"x": 7.655713745045723,
"y": 0.877061583182996
},
"nextControl": {
"x": 7.779102053930603,
"y": 0.877061583182996
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 7.755713745045723,
"y": 7.028186819906404
},
"prevControl": {
"x": 7.773292808894088,
"y": 6.929744062355556
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.6,
"rotationDegrees": 45.0,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 2.0,
"maxAcceleration": 2.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 45.0,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": 0,
"velocity": 0
},
"useDefaultConstraints": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,25 +3,25 @@
"waypoints": [
{
"anchor": {
"x": 2.14,
"y": 4.08
"x": 8.02467929722184,
"y": 7.437482225391801
},
"prevControl": null,
"nextControl": {
"x": 2.113851075727323,
"y": 4.08
"x": 7.998530372949164,
"y": 7.437482225391801
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 0.7859976973515199,
"y": 4.291754680375458
"x": 0.6339736895998008,
"y": 6.700750495518085
},
"prevControl": {
"x": 1.1950017893810583,
"y": 3.9898707076869915
"x": 1.3005404928188775,
"y": 7.226987445427883
},
"nextControl": null,
"isLocked": false,
Expand All @@ -30,22 +30,22 @@
],
"rotationTargets": [
{
"waypointRelativePos": 1.0,
"rotationDegrees": 120.0,
"rotateFast": true
"waypointRelativePos": 0.8,
"rotationDegrees": -110.13999999999999,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 1.0,
"maxAcceleration": 1.0,
"maxVelocity": 2.5,
"maxAcceleration": 2.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 120.0,
"rotation": -110.13630342824813,
"rotateFast": false
},
"reversed": false,
Expand Down
89 changes: 89 additions & 0 deletions src/main/deploy/pathplanner/paths/Mid Note.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,89 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 0.63,
"y": 6.7
},
"prevControl": null,
"nextControl": {
"x": 1.63,
"y": 6.7
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 3.113134431397068,
"y": 7.729836086452799
},
"prevControl": {
"x": 1.3736239622405044,
"y": 7.729836086452799
},
"nextControl": {
"x": 3.450847442340337,
"y": 7.729836086452799
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.02,
"y": 7.44
},
"prevControl": {
"x": 7.02,
"y": 7.44
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 0.3,
"rotationDegrees": -110.13999999999999,
"rotateFast": false
},
{
"waypointRelativePos": 1.25,
"rotationDegrees": -90.0,
"rotateFast": false
},
{
"waypointRelativePos": 0.7,
"rotationDegrees": -90.0,
"rotateFast": false
},
{
"waypointRelativePos": 1.65,
"rotationDegrees": 0,
"rotateFast": false
}
],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 2.0,
"maxAcceleration": 2.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": 0,
"rotateFast": false
},
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": -110.05781814646578,
"velocity": 0
},
"useDefaultConstraints": true
}
10 changes: 5 additions & 5 deletions src/main/deploy/pathplanner/paths/Three piece first pickup.path
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
},
{
"anchor": {
"x": 2.130825458232113,
"y": 6.876162812154685
"x": 2.247767002656512,
"y": 6.642279723305886
},
"prevControl": {
"x": 2.130825458232113,
"y": 6.876162812154685
"x": 2.247767002656512,
"y": 6.642279723305886
},
"nextControl": null,
"isLocked": false,
Expand All @@ -39,7 +39,7 @@
},
"goalEndState": {
"velocity": 0,
"rotation": 0.0,
"rotation": 41.87786953788427,
"rotateFast": true
},
"reversed": false,
Expand Down
10 changes: 5 additions & 5 deletions src/main/deploy/pathplanner/paths/Three piece second pickup.path
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
},
{
"anchor": {
"x": 2.189296230444312,
"y": 5.367616889079933
"x": 2.2594611570989525,
"y": 5.85877137566241
},
"prevControl": {
"x": 2.1392962304443124,
"y": 5.367616889079933
"x": 2.2094611570989526,
"y": 5.85877137566241
},
"nextControl": null,
"isLocked": false,
Expand All @@ -39,7 +39,7 @@
},
"goalEndState": {
"velocity": 0,
"rotation": 0.0,
"rotation": -27.21611155730738,
"rotateFast": false
},
"reversed": false,
Expand Down
10 changes: 5 additions & 5 deletions src/main/deploy/pathplanner/paths/Three piece second shot.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"waypoints": [
{
"anchor": {
"x": 2.282849465983832,
"y": 6.993104356579084
"x": 2.25,
"y": 6.64
},
"prevControl": null,
"nextControl": {
"x": 2.3343850733682006,
"y": 6.993104356579084
"x": 2.3015356073843685,
"y": 6.64
},
"isLocked": false,
"linkedName": null
Expand Down Expand Up @@ -45,7 +45,7 @@
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": 0.0,
"rotation": 31.108583156926112,
"velocity": 0.0
},
"useDefaultConstraints": false
Expand Down
14 changes: 7 additions & 7 deletions src/main/deploy/pathplanner/paths/Three piece third shot.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
"waypoints": [
{
"anchor": {
"x": 2.19,
"y": 5.52
"x": 2.26,
"y": 5.86
},
"prevControl": null,
"nextControl": {
"x": 2.2387275884782394,
"y": 5.508791872542867
"x": 2.3087275884782392,
"y": 5.848791872542868
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 1.4291761916857164,
"x": 1.4174820372432768,
"y": 5.52
},
"prevControl": {
"x": 1.3791761916857161,
"x": 1.3674820372432765,
"y": 5.52
},
"nextControl": null,
Expand All @@ -45,7 +45,7 @@
"reversed": false,
"folder": null,
"previewStartingState": {
"rotation": 0.0,
"rotation": -26.748513697761485,
"velocity": 0
},
"useDefaultConstraints": false
Expand Down
8 changes: 4 additions & 4 deletions src/main/deploy/pathplanner/paths/amp back up.path
Original file line number Diff line number Diff line change
Expand Up @@ -16,12 +16,12 @@
},
{
"anchor": {
"x": 6.387497675280251,
"y": 6.9346335843668845
"x": 7.381500802887644,
"y": 7.390705607622041
},
"prevControl": {
"x": 5.74519312131364,
"y": 6.928724082833695
"x": 4.7503160533386595,
"y": 7.916942557531839
},
"nextControl": null,
"isLocked": false,
Expand Down
Loading

0 comments on commit f0ab7f1

Please sign in to comment.