Skip to content

Commit 5f264c6

Browse files
committed
dcmp-1auto
1 parent fc4c906 commit 5f264c6

7 files changed

Lines changed: 323 additions & 20 deletions
Lines changed: 94 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,94 @@
1+
{
2+
"version": "2025.0",
3+
"command": {
4+
"type": "sequential",
5+
"data": {
6+
"commands": [
7+
{
8+
"type": "named",
9+
"data": {
10+
"name": "idle"
11+
}
12+
},
13+
{
14+
"type": "parallel",
15+
"data": {
16+
"commands": [
17+
{
18+
"type": "deadline",
19+
"data": {
20+
"commands": [
21+
{
22+
"type": "path",
23+
"data": {
24+
"pathName": "1 Depot side center"
25+
}
26+
},
27+
{
28+
"type": "named",
29+
"data": {
30+
"name": "intake"
31+
}
32+
}
33+
]
34+
}
35+
},
36+
{
37+
"type": "named",
38+
"data": {
39+
"name": "hopper deploy"
40+
}
41+
}
42+
]
43+
}
44+
},
45+
{
46+
"type": "path",
47+
"data": {
48+
"pathName": "2 Center back depot"
49+
}
50+
},
51+
{
52+
"type": "named",
53+
"data": {
54+
"name": "rev shooter"
55+
}
56+
},
57+
{
58+
"type": "parallel",
59+
"data": {
60+
"commands": [
61+
{
62+
"type": "named",
63+
"data": {
64+
"name": "hopper retract"
65+
}
66+
},
67+
{
68+
"type": "named",
69+
"data": {
70+
"name": "shoot long"
71+
}
72+
}
73+
]
74+
}
75+
},
76+
{
77+
"type": "named",
78+
"data": {
79+
"name": "idle"
80+
}
81+
},
82+
{
83+
"type": "path",
84+
"data": {
85+
"pathName": "3 to middle depot"
86+
}
87+
}
88+
]
89+
}
90+
},
91+
"resetOdom": true,
92+
"folder": null,
93+
"choreoAuto": false
94+
}

src/main/deploy/pathplanner/autos/center to back depot side.auto

Lines changed: 83 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -92,10 +92,92 @@
9292
"name": "idle"
9393
}
9494
},
95+
{
96+
"type": "named",
97+
"data": {
98+
"name": "hopper deploy"
99+
}
100+
},
101+
{
102+
"type": "parallel",
103+
"data": {
104+
"commands": [
105+
{
106+
"type": "deadline",
107+
"data": {
108+
"commands": [
109+
{
110+
"type": "path",
111+
"data": {
112+
"pathName": "3 to middle depot"
113+
}
114+
},
115+
{
116+
"type": "named",
117+
"data": {
118+
"name": "intake"
119+
}
120+
}
121+
]
122+
}
123+
},
124+
{
125+
"type": "sequential",
126+
"data": {
127+
"commands": [
128+
{
129+
"type": "wait",
130+
"data": {
131+
"waitTime": 1.0
132+
}
133+
},
134+
{
135+
"type": "named",
136+
"data": {
137+
"name": "hopper deploy"
138+
}
139+
}
140+
]
141+
}
142+
}
143+
]
144+
}
145+
},
95146
{
96147
"type": "path",
97148
"data": {
98-
"pathName": "3 to middle depot"
149+
"pathName": "4 BACK"
150+
}
151+
},
152+
{
153+
"type": "named",
154+
"data": {
155+
"name": "rev shooter"
156+
}
157+
},
158+
{
159+
"type": "parallel",
160+
"data": {
161+
"commands": [
162+
{
163+
"type": "named",
164+
"data": {
165+
"name": "hopper retract"
166+
}
167+
},
168+
{
169+
"type": "named",
170+
"data": {
171+
"name": "shoot long"
172+
}
173+
}
174+
]
175+
}
176+
},
177+
{
178+
"type": "named",
179+
"data": {
180+
"name": "idle"
99181
}
100182
}
101183
]

src/main/deploy/pathplanner/paths/1 Depot side center.path

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
},
1717
{
1818
"anchor": {
19-
"x": 7.753707692307692,
20-
"y": 5.793184615384616
19+
"x": 7.851106480189731,
20+
"y": 5.075377139136905
2121
},
2222
"prevControl": {
23-
"x": 7.802546153846153,
24-
"y": 7.760676923076924
23+
"x": 7.899944941728192,
24+
"y": 7.042869446829213
2525
},
2626
"nextControl": null,
2727
"isLocked": false,
@@ -31,7 +31,7 @@
3131
"rotationTargets": [
3232
{
3333
"waypointRelativePos": 0.6025082236842106,
34-
"rotationDegrees": -58.149754025069136
34+
"rotationDegrees": 118.78427882606655
3535
}
3636
],
3737
"constraintZones": [],
@@ -47,7 +47,7 @@
4747
},
4848
"goalEndState": {
4949
"velocity": 0,
50-
"rotation": -86.47765706868994
50+
"rotation": 86.14377074484123
5151
},
5252
"reversed": false,
5353
"folder": null,

src/main/deploy/pathplanner/paths/2 Center back depot.path

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"waypoints": [
44
{
55
"anchor": {
6-
"x": 7.649053846153848,
7-
"y": 5.96063076923077
6+
"x": 7.983806857638889,
7+
"y": 5.125840711805556
88
},
99
"prevControl": null,
1010
"nextControl": {
11-
"x": 7.537423076923078,
12-
"y": 7.593230769230768
11+
"x": 7.959846780443948,
12+
"y": 7.401181404234872
1313
},
1414
"isLocked": false,
1515
"linkedName": null
@@ -48,7 +48,7 @@
4848
"folder": null,
4949
"idealStartingState": {
5050
"velocity": 0,
51-
"rotation": -90.07765154134242
51+
"rotation": 88.84965610304204
5252
},
5353
"useDefaultConstraints": true
5454
}
Lines changed: 68 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,68 @@
1+
{
2+
"version": "2025.0",
3+
"waypoints": [
4+
{
5+
"anchor": {
6+
"x": 3.5394806134259262,
7+
"y": 7.305488208912037
8+
},
9+
"prevControl": null,
10+
"nextControl": {
11+
"x": 6.734254267939816,
12+
"y": 7.836736689814815
13+
},
14+
"isLocked": false,
15+
"linkedName": null
16+
},
17+
{
18+
"anchor": {
19+
"x": 6.227675347222223,
20+
"y": 4.233865523726852
21+
},
22+
"prevControl": {
23+
"x": 6.016475043402778,
24+
"y": 7.055512080439814
25+
},
26+
"nextControl": null,
27+
"isLocked": false,
28+
"linkedName": null
29+
}
30+
],
31+
"rotationTargets": [],
32+
"constraintZones": [
33+
{
34+
"name": "Constraints Zone",
35+
"minWaypointRelativePos": 0.6592348421926909,
36+
"maxWaypointRelativePos": 1.0,
37+
"constraints": {
38+
"maxVelocity": 1.5,
39+
"maxAcceleration": 1.5,
40+
"maxAngularVelocity": 540.0,
41+
"maxAngularAcceleration": 720.0,
42+
"nominalVoltage": 12.0,
43+
"unlimited": false
44+
}
45+
}
46+
],
47+
"pointTowardsZones": [],
48+
"eventMarkers": [],
49+
"globalConstraints": {
50+
"maxVelocity": 3.0,
51+
"maxAcceleration": 3.0,
52+
"maxAngularVelocity": 540.0,
53+
"maxAngularAcceleration": 720.0,
54+
"nominalVoltage": 12.0,
55+
"unlimited": false
56+
},
57+
"goalEndState": {
58+
"velocity": 0,
59+
"rotation": -88.50938390003228
60+
},
61+
"reversed": false,
62+
"folder": null,
63+
"idealStartingState": {
64+
"velocity": 0,
65+
"rotation": -61.449999218114584
66+
},
67+
"useDefaultConstraints": true
68+
}

src/main/deploy/pathplanner/paths/3 to middle depot.path

Lines changed: 13 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -8,27 +8,32 @@
88
},
99
"prevControl": null,
1010
"nextControl": {
11-
"x": 7.8697757523148155,
12-
"y": 7.872494429976852
11+
"x": 8.846519748263889,
12+
"y": 7.56884888599537
1313
},
1414
"isLocked": false,
1515
"linkedName": null
1616
},
1717
{
1818
"anchor": {
19-
"x": 7.4424543547453705,
20-
"y": 5.424040581597223
19+
"x": 7.944440538194444,
20+
"y": 4.273100622106481
2121
},
2222
"prevControl": {
23-
"x": 7.478799149635494,
24-
"y": 5.17669657846718
23+
"x": 7.885784722222223,
24+
"y": 6.953094039351852
2525
},
2626
"nextControl": null,
2727
"isLocked": false,
2828
"linkedName": null
2929
}
3030
],
31-
"rotationTargets": [],
31+
"rotationTargets": [
32+
{
33+
"waypointRelativePos": 0.5,
34+
"rotationDegrees": 88.7512237047608
35+
}
36+
],
3237
"constraintZones": [],
3338
"pointTowardsZones": [],
3439
"eventMarkers": [],
@@ -42,7 +47,7 @@
4247
},
4348
"goalEndState": {
4449
"velocity": 0,
45-
"rotation": -61.20160855081938
50+
"rotation": 88.62549580029474
4651
},
4752
"reversed": false,
4853
"folder": null,

0 commit comments

Comments
 (0)