mirrored paths and vision disconnection detection

This commit is contained in:
Tylr-J42
2025-03-24 01:00:35 -04:00
parent c9f6928806
commit d693faf5c9
16 changed files with 55 additions and 232 deletions

View File

@@ -83,6 +83,12 @@
"data": {
"pathName": "HP to K"
}
},
{
"type": "named",
"data": {
"name": "Shoot Coral L4"
}
}
]
}

View File

@@ -1,49 +0,0 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Right Start to E"
}
},
{
"type": "named",
"data": {
"name": "Shoot Coral L4"
}
},
{
"type": "named",
"data": {
"name": "HP Pickup"
}
},
{
"type": "path",
"data": {
"pathName": "E to HP"
}
},
{
"type": "named",
"data": {
"name": "Collect Coral"
}
},
{
"type": "path",
"data": {
"pathName": "HP to D"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}

View File

@@ -45,7 +45,7 @@
"rotation": -53.97262661489646
},
"reversed": false,
"folder": null,
"folder": "Left Paths",
"idealStartingState": {
"velocity": 0,
"rotation": -120.06858282186238

View File

@@ -57,7 +57,7 @@
"rotation": -53.98486432191523
},
"reversed": false,
"folder": null,
"folder": "Left Paths",
"idealStartingState": {
"velocity": 0,
"rotation": -59.99999999999999

View File

@@ -57,7 +57,7 @@
"rotation": -59.69923999693802
},
"reversed": false,
"folder": null,
"folder": "Left Paths",
"idealStartingState": {
"velocity": 0,
"rotation": -53.97262661489646

View File

@@ -57,7 +57,7 @@
"rotation": -60.49491285058726
},
"reversed": false,
"folder": null,
"folder": "Left Paths",
"idealStartingState": {
"velocity": 0,
"rotation": -53.97262661489646

View File

@@ -45,7 +45,7 @@
"rotation": -53.97262661489646
},
"reversed": false,
"folder": null,
"folder": "Left Paths",
"idealStartingState": {
"velocity": 0,
"rotation": -59.69923999693802

View File

@@ -1,65 +0,0 @@
{
"version": "2025.0",
"waypoints": [
{
"anchor": {
"x": 2.0,
"y": 7.0
},
"prevControl": null,
"nextControl": {
"x": 3.0,
"y": 7.0
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 12.272,
"y": 2.975
},
"prevControl": {
"x": 10.940715672291898,
"y": 2.975
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"pointTowardsZones": [
{
"fieldPosition": {
"x": 0.4,
"y": 5.5
},
"rotationOffset": 0.0,
"minWaypointRelativePos": 0.15,
"maxWaypointRelativePos": 0.4,
"name": "Point Towards Zone"
}
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.5,
"maxAcceleration": 1.75,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 400.0,
"nominalVoltage": 12.0,
"unlimited": false
},
"goalEndState": {
"velocity": 0,
"rotation": 59.99999999999999
},
"reversed": false,
"folder": null,
"idealStartingState": {
"velocity": 0,
"rotation": 0.0
},
"useDefaultConstraints": true
}

View File

@@ -3,13 +3,13 @@
"waypoints": [
{
"anchor": {
"x": 7.1686475409836055,
"y": 7.573360655737705
"x": 7.150967037968244,
"y": 7.5521014571037055
},
"prevControl": null,
"nextControl": {
"x": 5.933913934426228,
"y": 6.5544057377049185
"x": 5.916233431410867,
"y": 6.533146539070919
},
"isLocked": false,
"linkedName": null
@@ -57,7 +57,7 @@
"rotation": -119.71497744813712
},
"reversed": false,
"folder": null,
"folder": "Left Paths",
"idealStartingState": {
"velocity": 0,
"rotation": -90.0

View File

@@ -1,70 +0,0 @@
{
"version": "2025.0",
"waypoints": [
{
"anchor": {
"x": 7.600204918039607,
"y": 6.374590163938041
},
"prevControl": null,
"nextControl": {
"x": 7.600204918032786,
"y": 7.573360655737705
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 6.209631147540984,
"y": 6.074897540983606
},
"prevControl": {
"x": 7.120696721311476,
"y": 6.074897540983606
},
"nextControl": {
"x": 4.745363537952068,
"y": 6.074897540983606
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 4.8670081967213115,
"y": 6.973975409836065
},
"prevControl": {
"x": 5.826024590163935,
"y": 6.9979508196721305
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"pointTowardsZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.5,
"maxAcceleration": 1.75,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 400.0,
"nominalVoltage": 12.0,
"unlimited": false
},
"goalEndState": {
"velocity": 0,
"rotation": 90.0
},
"reversed": false,
"folder": null,
"idealStartingState": {
"velocity": 0,
"rotation": 180.0
},
"useDefaultConstraints": true
}

View File

@@ -2,7 +2,9 @@
"robotWidth": 0.8763,
"robotLength": 0.8763,
"holonomicMode": true,
"pathFolders": [],
"pathFolders": [
"Left Paths"
],
"autoFolders": [],
"defaultMaxVel": 3.5,
"defaultMaxAccel": 1.75,