Skip to content

Commit b64ad49

Browse files
committed
Autos/Deletes
1 parent 7a5c39b commit b64ad49

5 files changed

Lines changed: 42 additions & 1726 deletions

File tree

.vscode/settings.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,5 +58,6 @@
5858
"edu.wpi.first.math.**.struct.*",
5959
],
6060
"java.dependency.enableDependencyCheckup": false,
61-
"java.debug.settings.onBuildFailureProceed": true
61+
"java.debug.settings.onBuildFailureProceed": true,
62+
"java.jdt.ls.vmargs": "-XX:+UseParallelGC -XX:GCTimeRatio=4 -XX:AdaptiveSizePolicyWeight=90 -Dsun.zip.disableMemoryMapping=true -Xmx2G -Xms100m -Xlog:disable"
6263
}

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

Lines changed: 31 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -11,25 +11,45 @@
1111
}
1212
},
1313
{
14-
"type": "deadline",
14+
"type": "parallel",
1515
"data": {
1616
"commands": [
1717
{
18-
"type": "path",
18+
"type": "deadline",
1919
"data": {
20-
"pathName": "1 Depot side center"
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+
]
2134
}
2235
},
2336
{
24-
"type": "named",
25-
"data": {
26-
"name": "hopper deploy"
27-
}
28-
},
29-
{
30-
"type": "named",
37+
"type": "sequential",
3138
"data": {
32-
"name": "intake"
39+
"commands": [
40+
{
41+
"type": "wait",
42+
"data": {
43+
"waitTime": 1.0
44+
}
45+
},
46+
{
47+
"type": "named",
48+
"data": {
49+
"name": "hopper deploy"
50+
}
51+
}
52+
]
3353
}
3454
}
3555
]

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

Lines changed: 5 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -16,12 +16,12 @@
1616
},
1717
{
1818
"anchor": {
19-
"x": 7.74248120300752,
20-
"y": 4.862545112781954
19+
"x": 7.753707692307692,
20+
"y": 5.793184615384616
2121
},
2222
"prevControl": {
23-
"x": 7.636977443609023,
24-
"y": 8.001281954887219
23+
"x": 7.802546153846153,
24+
"y": 7.760676923076924
2525
},
2626
"nextControl": null,
2727
"isLocked": false,
@@ -34,21 +34,7 @@
3434
"rotationDegrees": -58.149754025069136
3535
}
3636
],
37-
"constraintZones": [
38-
{
39-
"name": "Constraints Zone",
40-
"minWaypointRelativePos": 0.6399186643835615,
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-
],
37+
"constraintZones": [],
5238
"pointTowardsZones": [],
5339
"eventMarkers": [],
5440
"globalConstraints": {

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

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,13 +3,13 @@
33
"waypoints": [
44
{
55
"anchor": {
6-
"x": 7.735228859581072,
7-
"y": 4.791419705197828
6+
"x": 7.649053846153848,
7+
"y": 5.96063076923077
88
},
99
"prevControl": null,
1010
"nextControl": {
11-
"x": 8.002614429790537,
12-
"y": 7.880426687354538
11+
"x": 7.537423076923078,
12+
"y": 7.593230769230768
1313
},
1414
"isLocked": false,
1515
"linkedName": null

0 commit comments

Comments
 (0)