Skip to content

Commit 4d230a0

Browse files
Modified paths so they face the tags more often πŸ‘πŸ‘
1 parent 29ac917 commit 4d230a0

14 files changed

+186
-206
lines changed

β€Žsrc/main/deploy/pathplanner/autos/PREVIEWC5ScoreC1.auto

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,12 @@
55
"type": "sequential",
66
"data": {
77
"commands": [
8+
{
9+
"type": "path",
10+
"data": {
11+
"pathName": "PsC5"
12+
}
13+
},
814
{
915
"type": "path",
1016
"data": {

β€Žsrc/main/deploy/pathplanner/paths/C5HopC1.1.path

Lines changed: 25 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -8,43 +8,54 @@
88
},
99
"prevControl": null,
1010
"nextControl": {
11-
"x": 7.9608273621608765,
12-
"y": 0.7658013108137615
11+
"x": 6.6059071545116,
12+
"y": 2.5761883532126273
1313
},
1414
"isLocked": false,
1515
"linkedName": null
1616
},
1717
{
1818
"anchor": {
19-
"x": 7.38,
20-
"y": 2.432079792022705
19+
"x": 7.4228384880504406,
20+
"y": 2.9663197839416173
2121
},
2222
"prevControl": {
23-
"x": 6.77,
24-
"y": 2.432079792022705
23+
"x": 7.129702988331471,
24+
"y": 3.1175747442239503
2525
},
2626
"nextControl": {
27-
"x": 7.4399999999999995,
28-
"y": 2.432079792022705
27+
"x": 7.858391409844649,
28+
"y": 2.741578870780311
2929
},
3030
"isLocked": false,
3131
"linkedName": null
3232
},
3333
{
3434
"anchor": {
3535
"x": 8.2,
36-
"y": 2.432079792022705
36+
"y": 2.4950640485740627
3737
},
3838
"prevControl": {
39-
"x": 8.14,
40-
"y": 2.432079792022705
39+
"x": 7.997339208318277,
40+
"y": 2.612070311205688
4141
},
4242
"nextControl": null,
4343
"isLocked": false,
4444
"linkedName": null
4545
}
4646
],
47-
"rotationTargets": [],
47+
"rotationTargets": [
48+
{
49+
"waypointRelativePos": 1.15,
50+
"rotationDegrees": -30.0,
51+
"rotateFast": true
52+
},
53+
{
54+
"waypointRelativePos": 0.55,
55+
"rotationDegrees": -50.0,
56+
"rotateFast": false
57+
}
58+
],
4859
"constraintZones": [],
4960
"eventMarkers": [
5061
{
@@ -73,13 +84,13 @@
7384
},
7485
"goalEndState": {
7586
"velocity": 0,
76-
"rotation": 0.0,
87+
"rotation": -30.0,
7788
"rotateFast": false
7889
},
7990
"reversed": false,
8091
"folder": "Centerline",
8192
"previewStartingState": {
82-
"rotation": 0.0,
93+
"rotation": -50.0,
8394
"velocity": 0
8495
},
8596
"useDefaultConstraints": false

β€Žsrc/main/deploy/pathplanner/paths/C5HopC1.2.path

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,12 @@
44
{
55
"anchor": {
66
"x": 8.2,
7-
"y": 2.432079792022705
7+
"y": 2.5
88
},
99
"prevControl": null,
1010
"nextControl": {
11-
"x": 8.259999999999998,
12-
"y": 2.432079792022705
11+
"x": 7.290643741116947,
12+
"y": 2.7389063338826323
1313
},
1414
"isLocked": false,
1515
"linkedName": null
@@ -36,15 +36,26 @@
3636
"y": 4.1123223304748535
3737
},
3838
"prevControl": {
39-
"x": 8.139999999999999,
39+
"x": 7.999999999999999,
4040
"y": 4.1123223304748535
4141
},
4242
"nextControl": null,
4343
"isLocked": false,
4444
"linkedName": null
4545
}
4646
],
47-
"rotationTargets": [],
47+
"rotationTargets": [
48+
{
49+
"waypointRelativePos": 0.55,
50+
"rotationDegrees": -30.0,
51+
"rotateFast": true
52+
},
53+
{
54+
"waypointRelativePos": 1.05,
55+
"rotationDegrees": 0,
56+
"rotateFast": false
57+
}
58+
],
4859
"constraintZones": [],
4960
"eventMarkers": [
5061
{
@@ -79,7 +90,7 @@
7990
"reversed": false,
8091
"folder": "Centerline",
8192
"previewStartingState": {
82-
"rotation": 0.0,
93+
"rotation": -30.0,
8394
"velocity": 0
8495
},
8596
"useDefaultConstraints": false

β€Žsrc/main/deploy/pathplanner/paths/C5HopC1.3.path

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,24 +8,24 @@
88
},
99
"prevControl": null,
1010
"nextControl": {
11-
"x": 8.26,
12-
"y": 4.1123223304748535
11+
"x": 7.418039273143342,
12+
"y": 4.114944032127608
1313
},
1414
"isLocked": false,
1515
"linkedName": null
1616
},
1717
{
1818
"anchor": {
19-
"x": 7.38,
20-
"y": 5.792564868927002
19+
"x": 7.553845584702516,
20+
"y": 5.79
2121
},
2222
"prevControl": {
23-
"x": 6.77,
24-
"y": 5.792564868927002
23+
"x": 6.943845584702515,
24+
"y": 5.79
2525
},
2626
"nextControl": {
27-
"x": 7.4399999999999995,
28-
"y": 5.792564868927002
27+
"x": 7.613845584702515,
28+
"y": 5.79
2929
},
3030
"isLocked": false,
3131
"linkedName": null

β€Žsrc/main/deploy/pathplanner/paths/C5HopC1.4.path

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -8,23 +8,23 @@
88
},
99
"prevControl": null,
1010
"nextControl": {
11-
"x": 8.26,
12-
"y": 5.79
11+
"x": 6.987528716198493,
12+
"y": 5.831065932845684
1313
},
1414
"isLocked": false,
1515
"linkedName": null
1616
},
1717
{
1818
"anchor": {
19-
"x": 7.38,
19+
"x": 7.44313698723572,
2020
"y": 7.47280740737915
2121
},
2222
"prevControl": {
23-
"x": 6.77,
23+
"x": 6.8331369872357195,
2424
"y": 7.47280740737915
2525
},
2626
"nextControl": {
27-
"x": 7.4399999999999995,
27+
"x": 7.503136987235719,
2828
"y": 7.47280740737915
2929
},
3030
"isLocked": false,

β€Žsrc/main/deploy/pathplanner/paths/C5ScoreC1.1.path

Lines changed: 10 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -3,25 +3,25 @@
33
"waypoints": [
44
{
55
"anchor": {
6-
"x": 8.2,
7-
"y": 0.744
6+
"x": 8.11,
7+
"y": 0.93
88
},
99
"prevControl": null,
1010
"nextControl": {
11-
"x": 6.8100556224912925,
12-
"y": 0.779980657348488
11+
"x": 5.979063359551898,
12+
"y": 1.1992202606733011
1313
},
1414
"isLocked": false,
1515
"linkedName": null
1616
},
1717
{
1818
"anchor": {
19-
"x": 2.4,
20-
"y": 3.48
19+
"x": 3.3368788827838953,
20+
"y": 3.168671420478233
2121
},
2222
"prevControl": {
23-
"x": 2.662390099997208,
24-
"y": 3.2637791975237924
23+
"x": 4.302104946252649,
24+
"y": 2.47643858708145
2525
},
2626
"nextControl": null,
2727
"isLocked": false,
@@ -39,13 +39,13 @@
3939
},
4040
"goalEndState": {
4141
"velocity": 0,
42-
"rotation": -44.370000000000005,
42+
"rotation": -37.19999999999999,
4343
"rotateFast": true
4444
},
4545
"reversed": false,
4646
"folder": "Centerline",
4747
"previewStartingState": {
48-
"rotation": 0.0,
48+
"rotation": -50.0,
4949
"velocity": 0
5050
},
5151
"useDefaultConstraints": false

β€Žsrc/main/deploy/pathplanner/paths/C5ScoreC1.2.path

Lines changed: 9 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -4,40 +4,24 @@
44
{
55
"anchor": {
66
"x": 8.2,
7-
"y": 2.43
7+
"y": 2.5
88
},
99
"prevControl": null,
1010
"nextControl": {
11-
"x": 8.109090911497251,
12-
"y": 2.4299999933825545
11+
"x": 6.020314568467617,
12+
"y": 1.0724734038541714
1313
},
1414
"isLocked": false,
1515
"linkedName": null
1616
},
1717
{
1818
"anchor": {
19-
"x": 5.796,
20-
"y": 1.865
19+
"x": 3.3368788827838953,
20+
"y": 3.168671420478233
2121
},
2222
"prevControl": {
23-
"x": 5.886909083208792,
24-
"y": 1.865000021175824
25-
},
26-
"nextControl": {
27-
"x": 5.7050909167912085,
28-
"y": 1.8649999788241765
29-
},
30-
"isLocked": false,
31-
"linkedName": null
32-
},
33-
{
34-
"anchor": {
35-
"x": 2.4,
36-
"y": 3.48
37-
},
38-
"prevControl": {
39-
"x": 2.4909090662681592,
40-
"y": 3.4800000677626355
23+
"x": 4.643346483842612,
24+
"y": 2.261943906310616
4125
},
4226
"nextControl": null,
4327
"isLocked": false,
@@ -55,13 +39,13 @@
5539
},
5640
"goalEndState": {
5741
"velocity": 0,
58-
"rotation": -43.19999999999999,
42+
"rotation": -37.19999999999999,
5943
"rotateFast": true
6044
},
6145
"reversed": false,
6246
"folder": "Centerline",
6347
"previewStartingState": {
64-
"rotation": 0.0,
48+
"rotation": -50.0,
6549
"velocity": 0
6650
},
6751
"useDefaultConstraints": false

β€Žsrc/main/deploy/pathplanner/paths/C5ScoreC1.3.path

Lines changed: 6 additions & 22 deletions
Original file line numberDiff line numberDiff line change
@@ -8,36 +8,20 @@
88
},
99
"prevControl": null,
1010
"nextControl": {
11-
"x": 8.109093492882675,
12-
"y": 4.1119928945726425
11+
"x": 7.410012321133367,
12+
"y": 4.116412169410954
1313
},
1414
"isLocked": false,
1515
"linkedName": null
1616
},
1717
{
1818
"anchor": {
19-
"x": 5.041,
20-
"y": 4.365
19+
"x": 4.002154631778726,
20+
"y": 5.359589532827078
2121
},
2222
"prevControl": {
23-
"x": 5.131900822775439,
24-
"y": 4.3650227373675445
25-
},
26-
"nextControl": {
27-
"x": 4.950099177224562,
28-
"y": 4.364977262632456
29-
},
30-
"isLocked": false,
31-
"linkedName": null
32-
},
33-
{
34-
"anchor": {
35-
"x": 3.9,
36-
"y": 5.5
37-
},
38-
"prevControl": {
39-
"x": 3.990882632881403,
40-
"y": 5.500072759576142
23+
"x": 4.702834990512468,
24+
"y": 3.8929430420225617
4125
},
4226
"nextControl": null,
4327
"isLocked": false,

0 commit comments

Comments
Β (0)