Skip to content

Commit

Permalink
Merge pull request #37 from frc-862/30-saturday-paths
Browse files Browse the repository at this point in the history
[#30] Added Saturday Map Plan Paths
  • Loading branch information
Jeffthedoor authored Jan 20, 2023
2 parents 15558d1 + 0d7977d commit cfaa659
Show file tree
Hide file tree
Showing 12 changed files with 582 additions and 159 deletions.
10 changes: 10 additions & 0 deletions .SysId/sysid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
{
"SysId": {
"Analysis Type": "General Mechanism",
"NetworkTables Settings": {
"serverTeam": "862"
},
"mode": "Client (NT4)",
"serverTeam": "862"
}
}
7 changes: 7 additions & 0 deletions .pathplanner/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,7 @@
{
"robotWidth": 0.7,
"robotLength": 0.7,
"holonomicMode": true,
"generateJSON": false,
"generateCSV": false
}
51 changes: 51 additions & 0 deletions src/main/deploy/pathplanner/Path1StartB.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.75,
"y": 2.75
},
"prevControl": null,
"nextControl": {
"x": 2.749999999999999,
"y": 2.75
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"Score-Game-Piece"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 2.55,
"y": 2.75
},
"prevControl": {
"x": 1.5499999999999998,
"y": 2.75
},
"nextControl": null,
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"markers": []
}
Original file line number Diff line number Diff line change
Expand Up @@ -2,41 +2,43 @@
"waypoints": [
{
"anchorPoint": {
"x": 1.0,
"y": 3.0
"x": 1.75,
"y": 2.75
},
"prevControl": null,
"nextControl": {
"x": 2.0,
"y": 3.0
"x": 2.749999999999999,
"y": 2.75
},
"holonomicAngle": 0,
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"names": [
"Score-Game-Piece"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 3.0,
"y": 5.0
"x": 5.1100017584650566,
"y": 2.75
},
"prevControl": {
"x": 3.0,
"y": 4.0
"x": 4.1100017584650566,
"y": 2.75
},
"nextControl": {
"x": 3.0,
"y": 4.0
"x": 6.1100017584650566,
"y": 2.75
},
"holonomicAngle": 0,
"isReversal": true,
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
Expand All @@ -49,15 +51,15 @@
},
{
"anchorPoint": {
"x": 5.0,
"y": 3.0
"x": 7.258589613333074,
"y": 2.75
},
"prevControl": {
"x": 4.0,
"y": 3.0
"x": 6.551863087874694,
"y": 2.75
},
"nextControl": null,
"holonomicAngle": 0,
"holonomicAngle": 0.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
Expand Down
51 changes: 51 additions & 0 deletions src/main/deploy/pathplanner/Path3StartA.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.853397745257031,
"y": 4.422429710244036
},
"prevControl": null,
"nextControl": {
"x": 2.85339774525703,
"y": 4.422429710244036
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"Score-Game-Piece"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 5.62065268361306,
"y": 4.45
},
"prevControl": {
"x": 4.465477719023095,
"y": 4.45
},
"nextControl": null,
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"markers": []
}
137 changes: 137 additions & 0 deletions src/main/deploy/pathplanner/Path4StartA.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,137 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.8341278990250307,
"y": 4.45
},
"prevControl": null,
"nextControl": {
"x": 2.8265249799730388,
"y": 4.546349231160002
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"Score-Game-Piece"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 5.0,
"y": 4.90417586604404
},
"prevControl": {
"x": 3.850259703501318,
"y": 4.792254244260983
},
"nextControl": {
"x": 6.088746312108009,
"y": 5.010160020320042
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 7.0755260741290735,
"y": 4.586223403216038
},
"prevControl": {
"x": 7.225929170005623,
"y": 5.3919542739832655
},
"nextControl": {
"x": 6.940637150505072,
"y": 3.863604169516032
},
"holonomicAngle": 270.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"Collect-Game-Piece"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 5.004017604189056,
"y": 4.701842480608039
},
"prevControl": {
"x": 6.190826771219517,
"y": 4.4236840820852725
},
"nextControl": {
"x": 4.3873825247650515,
"y": 4.846366327348041
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 1.83,
"y": 4.45
},
"prevControl": {
"x": 2.304347572829763,
"y": 4.397341542760007
},
"nextControl": null,
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"Score-Game-Piece"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"markers": [
{
"position": 1.6290909090908656,
"names": [
"Collect-Game-Piece"
]
}
]
}
51 changes: 51 additions & 0 deletions src/main/deploy/pathplanner/Path5StartC.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.8341278990250307,
"y": 1.0
},
"prevControl": null,
"nextControl": {
"x": 2.834127899025029,
"y": 1.0
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"Score-Game-Piece"
],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 5.51466852933706,
"y": 1.0
},
"prevControl": {
"x": 4.51466852933706,
"y": 1.0
},
"nextControl": null,
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"markers": []
}
Loading

0 comments on commit cfaa659

Please sign in to comment.