Adding trench autos and linear model for roller

This commit is contained in:
mimigamin
2026-04-04 10:27:44 -06:00
parent bf12e9cd7c
commit 0a2559bb4b
9 changed files with 443 additions and 12 deletions
@@ -39,6 +39,6 @@
}
},
"resetOdom": true,
"folder": "Spring Break Tests",
"folder": null,
"choreoAuto": false
}
@@ -38,6 +38,6 @@
}
},
"resetOdom": true,
"folder": "Spring Break Tests",
"folder": null,
"choreoAuto": false
}
@@ -0,0 +1,55 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "wait",
"data": {
"waitTime": 0
}
},
{
"type": "path",
"data": {
"pathName": "LeftTrench-Neutral-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
},
{
"type": "path",
"data": {
"pathName": "LeftRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -0,0 +1,49 @@
{
"version": "2025.0",
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Intake Extended"
}
},
{
"type": "path",
"data": {
"pathName": "RightTrench-Neutral-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Rev Up"
}
},
{
"type": "named",
"data": {
"name": "BumpOffsetBackward"
}
},
{
"type": "path",
"data": {
"pathName": "RightRamp-Shoot"
}
},
{
"type": "named",
"data": {
"name": "Robot Shoot"
}
}
]
}
},
"resetOdom": true,
"folder": null,
"choreoAuto": false
}
@@ -0,0 +1,152 @@
{
"version": "2025.0",
"waypoints": [
{
"anchor": {
"x": 3.5373205128205143,
"y": 7.430435897435898
},
"prevControl": null,
"nextControl": {
"x": 3.7870116206619695,
"y": 7.418012103131955
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 7.642076923076923,
"y": 7.069961538461539
},
"prevControl": {
"x": 7.178228149431453,
"y": 7.5205380189223625
},
"nextControl": {
"x": 8.216115793872147,
"y": 6.51234787481454
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 7.781615384615385,
"y": 4.837346153846154
},
"prevControl": {
"x": 7.786585532087434,
"y": 5.241663699788379
},
"nextControl": {
"x": 7.778542446002628,
"y": 4.5873650404629975
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 6.572282051282052,
"y": 5.511782051282052
},
"prevControl": {
"x": 6.957648225000392,
"y": 5.601152104386376
},
"nextControl": {
"x": 6.204516600433754,
"y": 5.426493771942126
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 3.3977820512820527,
"y": 5.511782051282052
},
"prevControl": {
"x": 3.7826390804558825,
"y": 5.585258005415613
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 3.4736842105263164,
"rotationDegrees": 112.5
}
],
"constraintZones": [
{
"name": "Constraints Zone",
"minWaypointRelativePos": 2.374307862679942,
"maxWaypointRelativePos": 4.0,
"constraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 600.0,
"maxAngularAcceleration": 750.0,
"nominalVoltage": 10.0,
"unlimited": false
}
}
],
"pointTowardsZones": [
{
"fieldPosition": {
"x": 7.0,
"y": 0.0
},
"rotationOffset": 0.0,
"minWaypointRelativePos": 0.9302325581395282,
"maxWaypointRelativePos": 2.1705426356589252,
"name": "Point Towards Zone"
},
{
"fieldPosition": {
"x": 7.0,
"y": 0.0
},
"rotationOffset": 180.0,
"minWaypointRelativePos": 2.4983388704318887,
"maxWaypointRelativePos": 3.2956810631229274,
"name": "Point Towards Zone"
},
{
"fieldPosition": {
"x": 0.0,
"y": 7.0
},
"rotationOffset": 180.0,
"minWaypointRelativePos": 0.0,
"maxWaypointRelativePos": 0.7353266888150656,
"name": "Point Towards Zone"
}
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.5,
"maxAcceleration": 5.0,
"maxAngularVelocity": 600.0,
"maxAngularAcceleration": 750.0,
"nominalVoltage": 12.0,
"unlimited": true
},
"goalEndState": {
"velocity": 3.0,
"rotation": 101.70667085951649
},
"reversed": false,
"folder": null,
"idealStartingState": {
"velocity": 3.0,
"rotation": 0.0
},
"useDefaultConstraints": false
}
@@ -0,0 +1,165 @@
{
"version": "2025.0",
"waypoints": [
{
"anchor": {
"x": 3.6070897435897447,
"y": 0.6046794871794885
},
"prevControl": null,
"nextControl": {
"x": 3.8833980386504074,
"y": 0.5273348158056345
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 7.595564102564104,
"y": 0.9884102564102579
},
"prevControl": {
"x": 7.151835398129718,
"y": 0.5429530943613806
},
"nextControl": {
"x": 7.93843114627953,
"y": 1.332612871042205
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 7.793243589743589,
"y": 3.4070769230769233
},
"prevControl": {
"x": 7.74538518514461,
"y": 3.9526634447090423
},
"nextControl": {
"x": 7.8344917146104915,
"y": 2.936847688346859
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 6.572282051282052,
"y": 2.5119999999999996
},
"prevControl": {
"x": 7.050706524183416,
"y": 2.443033938208306
},
"nextControl": {
"x": 6.24953920807272,
"y": 2.5585241728388555
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 3.3977820512820527,
"y": 2.512
},
"prevControl": {
"x": 3.841498071206661,
"y": 2.6514755211571583
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [
{
"waypointRelativePos": 3.4736842105263164,
"rotationDegrees": -112.5
}
],
"constraintZones": [
{
"name": "Constraints Zone",
"minWaypointRelativePos": 2.2059800664451794,
"maxWaypointRelativePos": 4.0,
"constraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 600.0,
"maxAngularAcceleration": 750.0,
"nominalVoltage": 10.0,
"unlimited": false
}
},
{
"name": "Constraints Zone",
"minWaypointRelativePos": 1.771871539313429,
"maxWaypointRelativePos": 2.542635658914713,
"constraints": {
"maxVelocity": 1.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 600.0,
"maxAngularAcceleration": 750.0,
"nominalVoltage": 6.0,
"unlimited": false
}
}
],
"pointTowardsZones": [
{
"fieldPosition": {
"x": 7.0,
"y": 8.0
},
"rotationOffset": 0.0,
"minWaypointRelativePos": 0.859357696566985,
"maxWaypointRelativePos": 2.1705426356589252,
"name": "Point Towards Zone"
},
{
"fieldPosition": {
"x": 7.0,
"y": 8.0
},
"rotationOffset": 180.0,
"minWaypointRelativePos": 2.4983388704318887,
"maxWaypointRelativePos": 3.2956810631229274,
"name": "Point Towards Zone"
},
{
"fieldPosition": {
"x": 0.0,
"y": 0.6
},
"rotationOffset": 180.0,
"minWaypointRelativePos": 0.0,
"maxWaypointRelativePos": 0.6910299003322272,
"name": "Point Towards Zone"
}
],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 600.0,
"maxAngularAcceleration": 750.0,
"nominalVoltage": 12.0,
"unlimited": true
},
"goalEndState": {
"velocity": 3.0,
"rotation": -113.07
},
"reversed": false,
"folder": null,
"idealStartingState": {
"velocity": 0.3,
"rotation": 0.0
},
"useDefaultConstraints": false
}