Skip to content

Commit 1e03bdf

Browse files
committed
auto v2
1 parent cc601a1 commit 1e03bdf

6 files changed

Lines changed: 155 additions & 9 deletions

File tree

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

Lines changed: 18 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,12 +4,6 @@
44
"type": "sequential",
55
"data": {
66
"commands": [
7-
{
8-
"type": "named",
9-
"data": {
10-
"name": "hopper deploy"
11-
}
12-
},
137
{
148
"type": "named",
159
"data": {
@@ -26,6 +20,12 @@
2620
"pathName": "1 Depot side center"
2721
}
2822
},
23+
{
24+
"type": "named",
25+
"data": {
26+
"name": "hopper deploy"
27+
}
28+
},
2929
{
3030
"type": "named",
3131
"data": {
@@ -65,6 +65,18 @@
6565
}
6666
]
6767
}
68+
},
69+
{
70+
"type": "named",
71+
"data": {
72+
"name": "idle"
73+
}
74+
},
75+
{
76+
"type": "path",
77+
"data": {
78+
"pathName": "3 to middle depot"
79+
}
6880
}
6981
]
7082
}

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

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,18 @@
6565
}
6666
]
6767
}
68+
},
69+
{
70+
"type": "named",
71+
"data": {
72+
"name": "idle"
73+
}
74+
},
75+
{
76+
"type": "path",
77+
"data": {
78+
"pathName": "3 to middle outpost"
79+
}
6880
}
6981
]
7082
}

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

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"minWaypointRelativePos": 0.6399186643835615,
4141
"maxWaypointRelativePos": 1.0,
4242
"constraints": {
43-
"maxVelocity": 2.5,
44-
"maxAcceleration": 2.5,
43+
"maxVelocity": 1.5,
44+
"maxAcceleration": 1.5,
4545
"maxAngularVelocity": 540.0,
4646
"maxAngularAcceleration": 720.0,
4747
"nominalVoltage": 12.0,

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

Lines changed: 15 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,21 @@
3434
"rotationDegrees": 70.317408216088
3535
}
3636
],
37-
"constraintZones": [],
37+
"constraintZones": [
38+
{
39+
"name": "Constraints Zone",
40+
"minWaypointRelativePos": 0.6583004568106311,
41+
"maxWaypointRelativePos": 1.0,
42+
"constraints": {
43+
"maxVelocity": 1.5,
44+
"maxAcceleration": 1.5,
45+
"maxAngularVelocity": 540.0,
46+
"maxAngularAcceleration": 720.0,
47+
"nominalVoltage": 12.0,
48+
"unlimited": false
49+
}
50+
}
51+
],
3852
"pointTowardsZones": [],
3953
"eventMarkers": [],
4054
"globalConstraints": {
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"version": "2025.0",
3+
"waypoints": [
4+
{
5+
"anchor": {
6+
"x": 4.027098090277778,
7+
"y": 7.411908492476852
8+
},
9+
"prevControl": null,
10+
"nextControl": {
11+
"x": 7.8697757523148155,
12+
"y": 7.872494429976852
13+
},
14+
"isLocked": false,
15+
"linkedName": null
16+
},
17+
{
18+
"anchor": {
19+
"x": 7.4424543547453705,
20+
"y": 5.424040581597223
21+
},
22+
"prevControl": {
23+
"x": 7.478799149635494,
24+
"y": 5.17669657846718
25+
},
26+
"nextControl": null,
27+
"isLocked": false,
28+
"linkedName": null
29+
}
30+
],
31+
"rotationTargets": [],
32+
"constraintZones": [],
33+
"pointTowardsZones": [],
34+
"eventMarkers": [],
35+
"globalConstraints": {
36+
"maxVelocity": 3.0,
37+
"maxAcceleration": 3.0,
38+
"maxAngularVelocity": 540.0,
39+
"maxAngularAcceleration": 720.0,
40+
"nominalVoltage": 12.0,
41+
"unlimited": false
42+
},
43+
"goalEndState": {
44+
"velocity": 0,
45+
"rotation": -61.20160855081938
46+
},
47+
"reversed": false,
48+
"folder": null,
49+
"idealStartingState": {
50+
"velocity": 0,
51+
"rotation": -69.91006596725617
52+
},
53+
"useDefaultConstraints": true
54+
}
Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
{
2+
"version": "2025.0",
3+
"waypoints": [
4+
{
5+
"anchor": {
6+
"x": 3.759713300540123,
7+
"y": 0.6556748529128082
8+
},
9+
"prevControl": null,
10+
"nextControl": {
11+
"x": 5.039977678571429,
12+
"y": 0.4219223167782741
13+
},
14+
"isLocked": false,
15+
"linkedName": null
16+
},
17+
{
18+
"anchor": {
19+
"x": 7.005366734095982,
20+
"y": 1.5359129696800595
21+
},
22+
"prevControl": {
23+
"x": 7.00031982421875,
24+
"y": 0.8473921130952384
25+
},
26+
"nextControl": null,
27+
"isLocked": false,
28+
"linkedName": null
29+
}
30+
],
31+
"rotationTargets": [],
32+
"constraintZones": [],
33+
"pointTowardsZones": [],
34+
"eventMarkers": [],
35+
"globalConstraints": {
36+
"maxVelocity": 3.0,
37+
"maxAcceleration": 3.0,
38+
"maxAngularVelocity": 540.0,
39+
"maxAngularAcceleration": 720.0,
40+
"nominalVoltage": 12.0,
41+
"unlimited": false
42+
},
43+
"goalEndState": {
44+
"velocity": 0,
45+
"rotation": 53.61062511732242
46+
},
47+
"reversed": false,
48+
"folder": null,
49+
"idealStartingState": {
50+
"velocity": 0,
51+
"rotation": 69.24485856743387
52+
},
53+
"useDefaultConstraints": true
54+
}

0 commit comments

Comments
 (0)