Skip to content

Commit

Permalink
Merge pull request #50 from LakeEffectRobotics/dcmp
Browse files Browse the repository at this point in the history
Dcmp changes
  • Loading branch information
gregk27 authored Apr 24, 2023
2 parents 2dfa2dd + 3ea963e commit a8cf9ae
Show file tree
Hide file tree
Showing 21 changed files with 582 additions and 82 deletions.
135 changes: 135 additions & 0 deletions src/main/deploy/pathplanner/balance 1 cone mobility.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,135 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.8983607197983627,
"y": 3.3001395917321754
},
"prevControl": null,
"nextControl": {
"x": 2.3324555433831,
"y": 3.3001395917321754
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"score cone"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 3.5004889962273995,
"y": 3.3
},
"prevControl": {
"x": 3.032178118965819,
"y": 3.3
},
"nextControl": {
"x": 3.96879987348898,
"y": 3.3
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": 0.5,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 4.2716490183574205,
"y": 3.3036114528286067
},
"prevControl": {
"x": 3.8375704029249773,
"y": 3.3036114528286067
},
"nextControl": {
"x": 4.705727633789864,
"y": 3.3036114528286067
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": 0.5,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"balance reversed"
],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 5.6781053733047635,
"y": 3.3001395917321754
},
"prevControl": {
"x": 5.2440267578723185,
"y": 3.3001395917321754
},
"nextControl": {
"x": 5.2440267578723185,
"y": 3.3001395917321754
},
"holonomicAngle": 0,
"isReversal": true,
"velOverride": 0.1,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"balance"
],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 4.113679338469788,
"y": 3.3
},
"prevControl": {
"x": 4.527299200237959,
"y": 3.3
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"balance forward"
],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"maxVelocity": 1.0,
"maxAcceleration": 0.7,
"isReversed": true,
"markers": []
}
53 changes: 53 additions & 0 deletions src/main/deploy/pathplanner/balance 1 cone.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,53 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.8869415516608812,
"y": 3.3001395917321754
},
"prevControl": null,
"nextControl": {
"x": 2.8869415516608807,
"y": 3.3001395917321754
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"score cone"
],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 3.6226551085580803,
"y": 3.3
},
"prevControl": {
"x": 2.6395449744140085,
"y": 3.3
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"balance"
],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"markers": []
}
68 changes: 60 additions & 8 deletions src/main/deploy/pathplanner/balance 1 cube mobility.path
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
},
"prevControl": null,
"nextControl": {
"x": 2.875522383523399,
"x": 2.3096172071081362,
"y": 2.74
},
"holonomicAngle": 0,
Expand All @@ -26,15 +26,67 @@
},
{
"anchorPoint": {
"x": 5.769458718404617,
"x": 3.3828525776709673,
"y": 2.74
},
"prevControl": {
"x": 4.539576670790269,
"x": 2.9145417004093868,
"y": 2.74
},
"nextControl": {
"x": 4.539576670790269,
"x": 3.8511634549325477,
"y": 2.74
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": 0.5,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 4.55902689583157,
"y": 2.740600352995578
},
"prevControl": {
"x": 4.124948280399127,
"y": 2.740600352995578
},
"nextControl": {
"x": 4.935859444368463,
"y": 2.740600352995578
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": 0.5,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"balance reversed"
],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 5.79229705467958,
"y": 2.74
},
"prevControl": {
"x": 5.044450511140433,
"y": 2.74
},
"nextControl": {
"x": 5.044450511140433,
"y": 2.74
},
"holonomicAngle": 0,
Expand All @@ -51,17 +103,17 @@
},
{
"anchorPoint": {
"x": 4.25,
"x": 4.330643533081939,
"y": 2.74
},
"prevControl": {
"x": 5.59056037413483,
"x": 5.007849306202964,
"y": 2.74
},
"nextControl": null,
"holonomicAngle": 0,
"isReversal": false,
"velOverride": 0.5,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
Expand All @@ -76,6 +128,6 @@
],
"maxVelocity": 1.5,
"maxAcceleration": 1.0,
"isReversed": null,
"isReversed": true,
"markers": []
}
Loading

0 comments on commit a8cf9ae

Please sign in to comment.