Updates to path planner autos

This commit is contained in:
Mike Silva 2026-04-11 20:22:32 -04:00
parent b88ee7ea47
commit bef5aa1c6d
11 changed files with 87 additions and 224 deletions

View File

@ -7,30 +7,24 @@
{ {
"type": "path", "type": "path",
"data": { "data": {
"pathName": "Hub to Depot" "pathName": "1.1 Hub to Shoot Path"
}
},
{
"type": "path",
"data": {
"pathName": "Depot to Shooting Point"
} }
}, },
{ {
"type": "deadline", "type": "deadline",
"data": { "data": {
"commands": [ "commands": [
{
"type": "wait",
"data": {
"waitTime": 10.0
}
},
{ {
"type": "named", "type": "named",
"data": { "data": {
"name": "ChassisAlignShoot" "name": "ChassisAlignShoot"
} }
},
{
"type": "wait",
"data": {
"waitTime": 10.0
}
} }
] ]
} }
@ -38,7 +32,32 @@
{ {
"type": "path", "type": "path",
"data": { "data": {
"pathName": "Shooting Point to Depot" "pathName": "1.2 Shoot to Depot Path"
}
},
{
"type": "path",
"data": {
"pathName": "1.3 Depot to Shoot Path"
}
},
{
"type": "deadline",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "ChassisAlignShoot"
}
},
{
"type": "wait",
"data": {
"waitTime": 10.0
}
}
]
} }
} }
] ]

View File

@ -7,7 +7,7 @@
{ {
"type": "path", "type": "path",
"data": { "data": {
"pathName": "Chaos Monkey Path" "pathName": "9.1 Chaos Monkey Path"
} }
} }
] ]

View File

@ -1,19 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Hub to Depot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}

View File

@ -1,19 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "New Path"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}

View File

@ -1,19 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Test Path"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}

View File

@ -3,12 +3,12 @@
"waypoints": [ "waypoints": [
{ {
"anchor": { "anchor": {
"x": 13.0, "x": 3.5,
"y": 4.0 "y": 4.0
}, },
"prevControl": null, "prevControl": null,
"nextControl": { "nextControl": {
"x": 14.0, "x": 3.0,
"y": 4.0 "y": 4.0
}, },
"isLocked": false, "isLocked": false,
@ -16,12 +16,12 @@
}, },
{ {
"anchor": { "anchor": {
"x": 15.5, "x": 2.0,
"y": 2.0 "y": 4.0
}, },
"prevControl": { "prevControl": {
"x": 13.5, "x": 2.5,
"y": 2.0000000000000004 "y": 4.0
}, },
"nextControl": null, "nextControl": null,
"isLocked": false, "isLocked": false,
@ -48,7 +48,7 @@
"folder": null, "folder": null,
"idealStartingState": { "idealStartingState": {
"velocity": 0, "velocity": 0,
"rotation": 2.6905523852280466 "rotation": -179.69626968995792
}, },
"useDefaultConstraints": true "useDefaultConstraints": true
} }

View File

@ -4,24 +4,24 @@
{ {
"anchor": { "anchor": {
"x": 2.0, "x": 2.0,
"y": 3.892939759036145 "y": 4.0
}, },
"prevControl": null, "prevControl": null,
"nextControl": { "nextControl": {
"x": 2.999999999999999, "x": 2.2144854970378125,
"y": 3.892939759036145 "y": 3.8554998234204434
}, },
"isLocked": false, "isLocked": false,
"linkedName": null "linkedName": null
}, },
{ {
"anchor": { "anchor": {
"x": 3.0, "x": 1.0,
"y": 3.892939759036145 "y": 6.0
}, },
"prevControl": { "prevControl": {
"x": 2.0, "x": 1.2166471375173105,
"y": 3.892939759036145 "y": 5.875244167248359
}, },
"nextControl": null, "nextControl": null,
"isLocked": false, "isLocked": false,
@ -42,13 +42,13 @@
}, },
"goalEndState": { "goalEndState": {
"velocity": 0, "velocity": 0,
"rotation": 0.0 "rotation": -178.09121133641756
}, },
"reversed": false, "reversed": false,
"folder": null, "folder": null,
"idealStartingState": { "idealStartingState": {
"velocity": 0, "velocity": 0,
"rotation": 1.0511807495437313 "rotation": 0.4910281334858283
}, },
"useDefaultConstraints": true "useDefaultConstraints": true
} }

View File

@ -3,25 +3,25 @@
"waypoints": [ "waypoints": [
{ {
"anchor": { "anchor": {
"x": 14.5, "x": 1.0,
"y": 4.0 "y": 6.0
}, },
"prevControl": null, "prevControl": null,
"nextControl": { "nextControl": {
"x": 14.387524472828067, "x": 1.453699105174549,
"y": 4.487185032392618 "y": 6.084627986890304
}, },
"isLocked": false, "isLocked": false,
"linkedName": null "linkedName": null
}, },
{ {
"anchor": { "anchor": {
"x": 15.5, "x": 2.0,
"y": 2.0 "y": 4.0
}, },
"prevControl": { "prevControl": {
"x": 15.699374534462622, "x": 2.266577414275921,
"y": 1.5414699628074375 "y": 3.829411518660614
}, },
"nextControl": null, "nextControl": null,
"isLocked": false, "isLocked": false,
@ -48,7 +48,7 @@
"folder": null, "folder": null,
"idealStartingState": { "idealStartingState": {
"velocity": 0, "velocity": 0,
"rotation": 0.0 "rotation": -179.69626968995792
}, },
"useDefaultConstraints": true "useDefaultConstraints": true
} }

View File

@ -3,13 +3,13 @@
"waypoints": [ "waypoints": [
{ {
"anchor": { "anchor": {
"x": 0.5, "x": 3.5184925161825644,
"y": 7.5 "y": 7.5345006466771025
}, },
"prevControl": null, "prevControl": null,
"nextControl": { "nextControl": {
"x": 1.5000000000000007, "x": 4.489963675146704,
"y": 7.5 "y": 7.219438447522688
}, },
"isLocked": false, "isLocked": false,
"linkedName": null "linkedName": null
@ -17,15 +17,15 @@
{ {
"anchor": { "anchor": {
"x": 7.6, "x": 7.6,
"y": 6.81063855421925 "y": 6.812200117368956
}, },
"prevControl": { "prevControl": {
"x": 7.498127631539383, "x": 7.532870181778978,
"y": 7.805436031369352 "y": 7.8099443669167
}, },
"nextControl": { "nextControl": {
"x": 7.745476905739448, "x": 7.650893142287796,
"y": 5.390036864084266 "y": 6.055780073270545
}, },
"isLocked": false, "isLocked": false,
"linkedName": null "linkedName": null
@ -33,15 +33,15 @@
{ {
"anchor": { "anchor": {
"x": 7.6, "x": 7.6,
"y": 0.9424578313276835 "y": 0.9617601315610045
}, },
"prevControl": { "prevControl": {
"x": 7.647828711717099, "x": 7.654625343431328,
"y": 1.4502101472608384 "y": 1.468826273060325
}, },
"nextControl": { "nextControl": {
"x": 7.526915662650708, "x": 7.527819365080411,
"y": 0.16659036144816464 "y": 0.2917349428743933
}, },
"isLocked": false, "isLocked": false,
"linkedName": null "linkedName": null
@ -52,15 +52,24 @@
"y": 0.6692650602433468 "y": 0.6692650602433468
}, },
"prevControl": { "prevControl": {
"x": 0.19442168674709331, "x": 1.096874747061515,
"y": 0.8331807228939487 "y": 0.6440356562159093
}, },
"nextControl": null, "nextControl": null,
"isLocked": false, "isLocked": false,
"linkedName": null "linkedName": null
} }
], ],
"rotationTargets": [], "rotationTargets": [
{
"waypointRelativePos": 1.2332261810856255,
"rotationDegrees": -90.0
},
{
"waypointRelativePos": 1.7516108262639798,
"rotationDegrees": 0.0
}
],
"constraintZones": [], "constraintZones": [],
"pointTowardsZones": [], "pointTowardsZones": [],
"eventMarkers": [ "eventMarkers": [
@ -81,13 +90,13 @@
}, },
"goalEndState": { "goalEndState": {
"velocity": 0, "velocity": 0,
"rotation": 0.0 "rotation": -1.2282908533168926
}, },
"reversed": false, "reversed": false,
"folder": null, "folder": null,
"idealStartingState": { "idealStartingState": {
"velocity": 0, "velocity": 0,
"rotation": 0.0 "rotation": -0.1533900770684255
}, },
"useDefaultConstraints": true "useDefaultConstraints": true
} }

View File

@ -1,54 +0,0 @@
{
"version": "2025.0",
"waypoints": [
{
"anchor": {
"x": 15.5,
"y": 2.0
},
"prevControl": null,
"nextControl": {
"x": 15.387524472828067,
"y": 2.4871850323926177
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 14.5,
"y": 4.0
},
"prevControl": {
"x": 14.699374534462622,
"y": 3.5414699628074375
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"pointTowardsZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0,
"nominalVoltage": 12.0,
"unlimited": false
},
"goalEndState": {
"velocity": 0,
"rotation": 0.0
},
"reversed": false,
"folder": null,
"idealStartingState": {
"velocity": 0,
"rotation": 0.0
},
"useDefaultConstraints": true
}

View File

@ -1,54 +0,0 @@
{
"version": "2025.0",
"waypoints": [
{
"anchor": {
"x": 1.2106987951807227,
"y": 3.892939759036145
},
"prevControl": null,
"nextControl": {
"x": 2.210698795180722,
"y": 3.892939759036145
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.904493975903614,
"y": 3.892939759036145
},
"prevControl": {
"x": 1.904493975903614,
"y": 3.892939759036145
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"pointTowardsZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0,
"nominalVoltage": 12.0,
"unlimited": false
},
"goalEndState": {
"velocity": 0,
"rotation": 0.0
},
"reversed": false,
"folder": null,
"idealStartingState": {
"velocity": 0,
"rotation": 1.0511807495437313
},
"useDefaultConstraints": true
}