Skip to content

Commit

Permalink
Merge pull request #157 from 4201VitruvianBots/LAR_Day2
Browse files Browse the repository at this point in the history
Merge LAR changes to main
  • Loading branch information
jonathandao0 authored Apr 7, 2024
2 parents 15dc34e + fa96b8e commit f2a4269
Show file tree
Hide file tree
Showing 29 changed files with 217 additions and 108 deletions.
3 changes: 2 additions & 1 deletion .vscode/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -25,5 +25,6 @@
}
},
],
"java.test.defaultConfig": "WPIlibUnitTests"
"java.test.defaultConfig": "WPIlibUnitTests",
"java.debug.settings.onBuildFailureProceed": true
}
22 changes: 19 additions & 3 deletions src/main/deploy/pathplanner/paths/5Piecept1.path
Original file line number Diff line number Diff line change
Expand Up @@ -14,14 +14,30 @@
"isLocked": false,
"linkedName": "SubwooferTop"
},
{
"anchor": {
"x": 1.5708842846257125,
"y": 7.68155593454044
},
"prevControl": {
"x": 1.0708842846257125,
"y": 7.68155593454044
},
"nextControl": {
"x": 2.0708842846257127,
"y": 7.68155593454044
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 3.3,
"y": 8.0
"y": 7.87
},
"prevControl": {
"x": 3.215195190384357,
"y": 7.947008073576679
"y": 7.817008073576679
},
"nextControl": null,
"isLocked": false,
Expand All @@ -39,7 +55,7 @@
},
"goalEndState": {
"velocity": 0,
"rotation": 32.0,
"rotation": 42.0,
"rotateFast": false
},
"reversed": false,
Expand Down
44 changes: 17 additions & 27 deletions src/main/deploy/pathplanner/paths/5Piecept2.path
Original file line number Diff line number Diff line change
Expand Up @@ -4,54 +4,44 @@
{
"anchor": {
"x": 3.3,
"y": 8.0
"y": 7.87
},
"prevControl": null,
"nextControl": {
"x": 3.393642747013222,
"y": 8.03508612164115
"x": 1.5122464530643351,
"y": 7.6082586450887195
},
"isLocked": false,
"linkedName": "ShootEnd"
},
{
"anchor": {
"x": 1.74,
"y": 6.74
"x": 3.45,
"y": 6.98
},
"prevControl": {
"x": 1.6671801260455743,
"y": 6.712715805153629
},
"nextControl": {
"x": 1.8149141976105778,
"y": 6.76806889731292
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 3.3,
"y": 7.0
},
"prevControl": {
"x": 3.209369221296335,
"y": 6.9577381738259305
"x": 1.0165299902028382,
"y": 7.346486447258609
},
"nextControl": null,
"isLocked": false,
"linkedName": "ShootEnd2"
}
],
"rotationTargets": [],
"rotationTargets": [
{
"waypointRelativePos": 0.85,
"rotationDegrees": 0,
"rotateFast": true
}
],
"constraintZones": [
{
"name": "New Constraints Zone",
"minWaypointRelativePos": 1.0,
"maxWaypointRelativePos": 2.0,
"minWaypointRelativePos": 0.5,
"maxWaypointRelativePos": 1.0,
"constraints": {
"maxVelocity": 2.0,
"maxVelocity": 2.5,
"maxAcceleration": 10.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
Expand Down
26 changes: 19 additions & 7 deletions src/main/deploy/pathplanner/paths/5Piecept3.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
"waypoints": [
{
"anchor": {
"x": 3.3,
"y": 7.0
"x": 3.45,
"y": 6.98
},
"prevControl": null,
"nextControl": {
"x": 3.4,
"y": 7.0
"x": 3.5500000000000003,
"y": 6.98
},
"isLocked": false,
"linkedName": "ShootEnd2"
},
{
"anchor": {
"x": 8.5,
"x": 8.75,
"y": 8.0
},
"prevControl": {
"x": 8.4,
"x": 8.65,
"y": 8.0
},
"nextControl": null,
Expand All @@ -29,7 +29,19 @@
}
],
"rotationTargets": [],
"constraintZones": [],
"constraintZones": [
{
"name": "New Constraints Zone",
"minWaypointRelativePos": 0.7,
"maxWaypointRelativePos": 1.0,
"constraints": {
"maxVelocity": 2.0,
"maxAcceleration": 10.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
}
}
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.0,
Expand Down
8 changes: 4 additions & 4 deletions src/main/deploy/pathplanner/paths/5Piecept4.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,24 +3,24 @@
"waypoints": [
{
"anchor": {
"x": 8.5,
"x": 8.75,
"y": 8.0
},
"prevControl": null,
"nextControl": {
"x": 8.6,
"x": 8.85,
"y": 8.0
},
"isLocked": false,
"linkedName": "FarEnd1"
},
{
"anchor": {
"x": 3.5,
"x": 3.45,
"y": 6.358984244359359
},
"prevControl": {
"x": 3.4,
"x": 3.35,
"y": 6.358984244359359
},
"nextControl": null,
Expand Down
18 changes: 15 additions & 3 deletions src/main/deploy/pathplanner/paths/5Piecept5.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"waypoints": [
{
"anchor": {
"x": 3.5,
"x": 3.45,
"y": 6.358984244359359
},
"prevControl": null,
"nextControl": {
"x": 3.6,
"x": 3.5500000000000003,
"y": 6.358984244359359
},
"isLocked": false,
Expand Down Expand Up @@ -67,7 +67,19 @@
"rotateFast": true
}
],
"constraintZones": [],
"constraintZones": [
{
"name": "New Constraints Zone",
"minWaypointRelativePos": 1.5,
"maxWaypointRelativePos": 1.85,
"constraints": {
"maxVelocity": 2.0,
"maxAcceleration": 10.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
}
}
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.5,
Expand Down
8 changes: 4 additions & 4 deletions src/main/deploy/pathplanner/paths/5Piecept6.path
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"prevControl": null,
"nextControl": {
"x": 4.402920429053642,
"y": 6.8799487641027435
"x": 4.12162995754563,
"y": 7.153815450488045
},
"isLocked": false,
"linkedName": "ShootEnd4"
Expand Down Expand Up @@ -39,8 +39,8 @@
},
"goalEndState": {
"velocity": 0,
"rotation": 0.0,
"rotateFast": false
"rotation": -65.40085267213527,
"rotateFast": true
},
"reversed": false,
"folder": "5PieceAutoNear",
Expand Down
4 changes: 2 additions & 2 deletions src/main/deploy/pathplanner/paths/TwoPieceFarPt1.path
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
},
"nextControl": null,
"isLocked": false,
"linkedName": null
"linkedName": "2farshoot1"
}
],
"rotationTargets": [],
Expand All @@ -39,7 +39,7 @@
},
"goalEndState": {
"velocity": 0.0,
"rotation": -45.0,
"rotation": -50.0,
"rotateFast": true
},
"reversed": false,
Expand Down
10 changes: 5 additions & 5 deletions src/main/deploy/pathplanner/paths/TwoPieceFarPt2.path
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"y": 2.4575984822657415
},
"isLocked": false,
"linkedName": null
"linkedName": "2farshoot1"
},
{
"anchor": {
"x": 8.24,
"y": 0.78
"x": 8.6,
"y": 0.48000000000000004
},
"prevControl": {
"x": 7.420007982873108,
"y": 0.703653978736529
"x": 7.780007982873108,
"y": 0.40365397873652903
},
"nextControl": null,
"isLocked": false,
Expand Down
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/paths/TwoPieceFarPt3.path
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
},
"goalEndState": {
"velocity": 0.0,
"rotation": -45.0,
"rotation": -50.0,
"rotateFast": true
},
"reversed": false,
Expand Down
16 changes: 8 additions & 8 deletions src/main/deploy/pathplanner/paths/TwoPieceFarPt4.path
Original file line number Diff line number Diff line change
Expand Up @@ -16,27 +16,27 @@
},
{
"anchor": {
"x": 5.440981167676622,
"y": 1.6711781994992572
"x": 5.455640625566965,
"y": 1.3926484995827144
},
"prevControl": {
"x": 4.340981167676622,
"y": 1.6711781994992572
"x": 4.3556406255669655,
"y": 1.3926484995827144
},
"nextControl": {
"x": 5.540981167676621,
"y": 1.6711781994992572
"x": 5.555640625566965,
"y": 1.3926484995827144
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.24,
"x": 8.6,
"y": 2.4206899695850677
},
"prevControl": {
"x": 7.510882014612878,
"x": 7.870882014612877,
"y": 2.080696669300508
},
"nextControl": null,
Expand Down
Loading

0 comments on commit f2a4269

Please sign in to comment.