Skip to content

Commit

Permalink
Merge pull request #86 from robototes/3pieceautos
Browse files Browse the repository at this point in the history
3 Piece Autos
  • Loading branch information
TAKBS2412 authored May 26, 2023
2 parents 239c154 + 190809b commit 6ad2340
Show file tree
Hide file tree
Showing 17 changed files with 1,053 additions and 43 deletions.
1 change: 1 addition & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -119,6 +119,7 @@ spotless {
format "misc", {
target "*"
targetExclude "simgui*.json", "**/build/**", "**/build-*/**", "**/bin/**", "/.*"
toggleOffOn()
indentWithTabs()
endWithNewline()
trimTrailingWhitespace()
Expand Down
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.8869415516608812,
"y": 1.073401804923269
},
"prevControl": null,
"nextControl": {
"x": 3.291499232571115,
"y": 0.7879226014862292
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"ScoreHigh",
"Stow"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 7.0484055498025535,
"y": 0.6965692563863765
},
"prevControl": {
"x": 4.855925267406091,
"y": 0.5709584068740797
},
"nextControl": {
"x": 4.855925267406091,
"y": 0.5709584068740797
},
"holonomicAngle": 0,
"isReversal": true,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 1.7841690384235467,
"y": 0.3083175397120033
},
"prevControl": {
"x": 4.199127372967132,
"y": 0.308317539712003
},
"nextControl": null,
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"ScoreHigh",
"Stow"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"maxVelocity": 2.0,
"maxAcceleration": 2.0,
"isReversed": null,
"markers": [
{
"position": 0.6545454545454215,
"names": [
"WristPrescore",
"IntakeIn"
]
},
{
"position": 1.076363636363649,
"names": [
"Stow"
]
}
]
}
97 changes: 97 additions & 0 deletions src/main/deploy/pathplanner/BumpScoreHighLeaveComScoreHighRed.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,97 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.8869415516608812,
"y": 1.073401804923269
},
"prevControl": null,
"nextControl": {
"x": 3.291499232571115,
"y": 0.7879226014862292
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"ScoreHigh",
"Stow"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 6.9456330365652175,
"y": 0.7650842652112657
},
"prevControl": {
"x": 4.753152754168755,
"y": 0.639473415698969
},
"nextControl": {
"x": 4.753152754168755,
"y": 0.639473415698969
},
"holonomicAngle": 0,
"isReversal": true,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 1.8298457109734734,
"y": 0.35399421226193023
},
"prevControl": {
"x": 4.244804045517059,
"y": 0.3539942122619299
},
"nextControl": null,
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"ScoreHigh",
"Stow"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"maxVelocity": 2.0,
"maxAcceleration": 2.0,
"isReversed": null,
"markers": [
{
"position": 0.6545454545454215,
"names": [
"WristPrescore",
"IntakeIn"
]
},
{
"position": 1.076363636363649,
"names": [
"Stow"
]
}
]
}
148 changes: 148 additions & 0 deletions src/main/deploy/pathplanner/FlatScoreHighLeaveComScoreHighBlue.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,148 @@
{
"waypoints": [
{
"anchorPoint": {
"x": 1.872484505064023,
"y": 4.42702975667234
},
"prevControl": null,
"nextControl": {
"x": 4.216451851707123,
"y": 5.092948989316782
},
"holonomicAngle": 180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"ScoreHigh",
"Stow"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 5.335800642560605,
"y": 4.608452855778005
},
"prevControl": {
"x": 4.902482564852144,
"y": 4.636363444051799
},
"nextControl": {
"x": 6.146291266941508,
"y": 4.556248086855149
},
"holonomicAngle": 0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 6.774345514502994,
"y": 4.430637237342851
},
"prevControl": {
"x": 5.565310406248909,
"y": 4.410312015295236
},
"nextControl": {
"x": 5.565310406248909,
"y": 4.410312015295236
},
"holonomicAngle": 0,
"isReversal": true,
"velOverride": 0.5,
"isLocked": false,
"isStopPoint": true,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 4.010906825232454,
"y": 4.990176476079449
},
"prevControl": {
"x": 4.821667762993646,
"y": 4.944499803529522
},
"nextControl": {
"x": 2.7901381718127016,
"y": 5.058952174863661
},
"holonomicAngle": -180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [],
"executionBehavior": "parallel",
"waitBehavior": "none",
"waitTime": 0
}
},
{
"anchorPoint": {
"x": 1.7499115340111024,
"y": 5.035853148629374
},
"prevControl": {
"x": 3.0402775335465195,
"y": 5.035853148629374
},
"nextControl": null,
"holonomicAngle": -180.0,
"isReversal": false,
"velOverride": null,
"isLocked": false,
"isStopPoint": false,
"stopEvent": {
"names": [
"ScoreHigh",
"WristIn",
"Stow"
],
"executionBehavior": "sequential",
"waitBehavior": "none",
"waitTime": 0
}
}
],
"maxVelocity": 2.0,
"maxAcceleration": 2.0,
"isReversed": null,
"markers": [
{
"position": 0.6109090909090871,
"names": [
"WristPrescore",
"IntakeIn"
]
},
{
"position": 2.2400000000000047,
"names": [
"Stow"
]
}
]
}
Loading

0 comments on commit 6ad2340

Please sign in to comment.