auto getting there everything else gucci
This commit is contained in:
@@ -15,6 +15,24 @@
|
||||
"data": {
|
||||
"pathName": "left start to center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "path",
|
||||
"data": {
|
||||
"pathName": "over bump to pile"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "path",
|
||||
"data": {
|
||||
"pathName": "back from center"
|
||||
}
|
||||
},
|
||||
{
|
||||
"type": "named",
|
||||
"data": {
|
||||
"name": "auto shoot"
|
||||
}
|
||||
}
|
||||
]
|
||||
}
|
||||
|
||||
63
src/main/deploy/pathplanner/paths/back from center.path
Normal file
63
src/main/deploy/pathplanner/paths/back from center.path
Normal file
@@ -0,0 +1,63 @@
|
||||
{
|
||||
"version": "2025.0",
|
||||
"waypoints": [
|
||||
{
|
||||
"anchor": {
|
||||
"x": 6.050842639593909,
|
||||
"y": 5.715482233502538
|
||||
},
|
||||
"prevControl": null,
|
||||
"nextControl": {
|
||||
"x": 5.130030456852792,
|
||||
"y": 5.7523147208121825
|
||||
},
|
||||
"isLocked": false,
|
||||
"linkedName": "over bump"
|
||||
},
|
||||
{
|
||||
"anchor": {
|
||||
"x": 3.002954314720812,
|
||||
"y": 5.310324873096447
|
||||
},
|
||||
"prevControl": {
|
||||
"x": 4.052680203045686,
|
||||
"y": 5.9825177664974625
|
||||
},
|
||||
"nextControl": null,
|
||||
"isLocked": false,
|
||||
"linkedName": null
|
||||
}
|
||||
],
|
||||
"rotationTargets": [
|
||||
{
|
||||
"waypointRelativePos": 0.10454545454545605,
|
||||
"rotationDegrees": -115.0
|
||||
},
|
||||
{
|
||||
"waypointRelativePos": 0.7931818181818296,
|
||||
"rotationDegrees": -115.0
|
||||
}
|
||||
],
|
||||
"constraintZones": [],
|
||||
"pointTowardsZones": [],
|
||||
"eventMarkers": [],
|
||||
"globalConstraints": {
|
||||
"maxVelocity": 2.0,
|
||||
"maxAcceleration": 1.5,
|
||||
"maxAngularVelocity": 540.0,
|
||||
"maxAngularAcceleration": 720.0,
|
||||
"nominalVoltage": 12.0,
|
||||
"unlimited": false
|
||||
},
|
||||
"goalEndState": {
|
||||
"velocity": 0,
|
||||
"rotation": -36.158185439808385
|
||||
},
|
||||
"reversed": false,
|
||||
"folder": null,
|
||||
"idealStartingState": {
|
||||
"velocity": 0,
|
||||
"rotation": -123.34070734647689
|
||||
},
|
||||
"useDefaultConstraints": true
|
||||
}
|
||||
@@ -8,111 +8,77 @@
|
||||
},
|
||||
"prevControl": null,
|
||||
"nextControl": {
|
||||
"x": 3.1594923857868027,
|
||||
"y": 6.424507614213196
|
||||
"x": 2.9108730964467004,
|
||||
"y": 6.498172588832488
|
||||
},
|
||||
"isLocked": false,
|
||||
"linkedName": "start left"
|
||||
},
|
||||
{
|
||||
"anchor": {
|
||||
"x": 2.634629441624366,
|
||||
"y": 5.558944162436549
|
||||
"x": 2.5885888324873094,
|
||||
"y": 5.936477157360406
|
||||
},
|
||||
"prevControl": {
|
||||
"x": 2.4136345177664977,
|
||||
"y": 5.908852791878173
|
||||
"x": 2.3675939086294413,
|
||||
"y": 6.28638578680203
|
||||
},
|
||||
"nextControl": {
|
||||
"x": 2.895419769065523,
|
||||
"y": 5.146026143988051
|
||||
"x": 2.8493791599284664,
|
||||
"y": 5.523559138911907
|
||||
},
|
||||
"isLocked": false,
|
||||
"linkedName": null
|
||||
},
|
||||
{
|
||||
"anchor": {
|
||||
"x": 4.522294416243654,
|
||||
"y": 5.558944162436549
|
||||
"x": 4.577543147208122,
|
||||
"y": 5.715482233502538
|
||||
},
|
||||
"prevControl": {
|
||||
"x": 3.5095162657293457,
|
||||
"y": 5.533304209258972
|
||||
"x": 3.565840773084476,
|
||||
"y": 5.768729726877464
|
||||
},
|
||||
"nextControl": {
|
||||
"x": 6.704619289340102,
|
||||
"y": 5.614192893401015
|
||||
"x": 5.102406091370558,
|
||||
"y": 5.687857868020306
|
||||
},
|
||||
"isLocked": false,
|
||||
"linkedName": null
|
||||
},
|
||||
{
|
||||
"anchor": {
|
||||
"x": 7.478101522849547,
|
||||
"y": 7.244030456855094
|
||||
"x": 6.050842639593909,
|
||||
"y": 5.715482233502538
|
||||
},
|
||||
"prevControl": {
|
||||
"x": 6.765542310662505,
|
||||
"y": 7.465169522706244
|
||||
},
|
||||
"nextControl": {
|
||||
"x": 8.012172588839395,
|
||||
"y": 7.078284263961693
|
||||
},
|
||||
"isLocked": false,
|
||||
"linkedName": null
|
||||
},
|
||||
{
|
||||
"anchor": {
|
||||
"x": 7.671472081218274,
|
||||
"y": 4.7670456852791885
|
||||
},
|
||||
"prevControl": {
|
||||
"x": 7.726720812182741,
|
||||
"y": 7.639979695431472
|
||||
"x": 5.525979695431473,
|
||||
"y": 5.807563451776649
|
||||
},
|
||||
"nextControl": null,
|
||||
"isLocked": false,
|
||||
"linkedName": null
|
||||
"linkedName": "over bump"
|
||||
}
|
||||
],
|
||||
"rotationTargets": [
|
||||
{
|
||||
"waypointRelativePos": 1.5636363636363326,
|
||||
"rotationDegrees": -45.0
|
||||
},
|
||||
{
|
||||
"waypointRelativePos": 3.0318181818182266,
|
||||
"rotationDegrees": -90.0
|
||||
}
|
||||
],
|
||||
"constraintZones": [
|
||||
{
|
||||
"name": "Constraints Zone",
|
||||
"minWaypointRelativePos": 2.6208291203235685,
|
||||
"maxWaypointRelativePos": 4.0,
|
||||
"constraints": {
|
||||
"maxVelocity": 1.0,
|
||||
"maxAcceleration": 1.5,
|
||||
"maxAngularVelocity": 540.0,
|
||||
"maxAngularAcceleration": 720.0,
|
||||
"nominalVoltage": 12.0,
|
||||
"unlimited": false
|
||||
}
|
||||
"waypointRelativePos": 1.62272727272727,
|
||||
"rotationDegrees": -135.0
|
||||
}
|
||||
],
|
||||
"constraintZones": [],
|
||||
"pointTowardsZones": [],
|
||||
"eventMarkers": [
|
||||
{
|
||||
"name": "Intake Start",
|
||||
"waypointRelativePos": 0,
|
||||
"waypointRelativePos": 2.1,
|
||||
"endWaypointRelativePos": null,
|
||||
"command": null
|
||||
}
|
||||
],
|
||||
"globalConstraints": {
|
||||
"maxVelocity": 2.0,
|
||||
"maxAcceleration": 1.5,
|
||||
"maxVelocity": 3.0,
|
||||
"maxAcceleration": 2.0,
|
||||
"maxAngularVelocity": 540.0,
|
||||
"maxAngularAcceleration": 720.0,
|
||||
"nominalVoltage": 12.0,
|
||||
@@ -120,7 +86,7 @@
|
||||
},
|
||||
"goalEndState": {
|
||||
"velocity": 0,
|
||||
"rotation": -89.09061955080092
|
||||
"rotation": -123.34070734647689
|
||||
},
|
||||
"reversed": false,
|
||||
"folder": null,
|
||||
@@ -128,5 +94,5 @@
|
||||
"velocity": 0,
|
||||
"rotation": -90.0
|
||||
},
|
||||
"useDefaultConstraints": true
|
||||
"useDefaultConstraints": false
|
||||
}
|
||||
112
src/main/deploy/pathplanner/paths/over bump to pile.path
Normal file
112
src/main/deploy/pathplanner/paths/over bump to pile.path
Normal file
@@ -0,0 +1,112 @@
|
||||
{
|
||||
"version": "2025.0",
|
||||
"waypoints": [
|
||||
{
|
||||
"anchor": {
|
||||
"x": 6.050842639593909,
|
||||
"y": 5.715482233502538
|
||||
},
|
||||
"prevControl": null,
|
||||
"nextControl": {
|
||||
"x": 6.520456852791878,
|
||||
"y": 6.406091370558377
|
||||
},
|
||||
"isLocked": false,
|
||||
"linkedName": "over bump"
|
||||
},
|
||||
{
|
||||
"anchor": {
|
||||
"x": 7.017695431472081,
|
||||
"y": 7.216406091370559
|
||||
},
|
||||
"prevControl": {
|
||||
"x": 6.017695431472081,
|
||||
"y": 7.216406091370559
|
||||
},
|
||||
"nextControl": {
|
||||
"x": 8.017695431472081,
|
||||
"y": 7.216406091370559
|
||||
},
|
||||
"isLocked": false,
|
||||
"linkedName": null
|
||||
},
|
||||
{
|
||||
"anchor": {
|
||||
"x": 7.883258883248731,
|
||||
"y": 4.831502538071066
|
||||
},
|
||||
"prevControl": {
|
||||
"x": 7.941269035532995,
|
||||
"y": 6.042370558375635
|
||||
},
|
||||
"nextControl": {
|
||||
"x": 7.825248730964466,
|
||||
"y": 3.620634517766498
|
||||
},
|
||||
"isLocked": false,
|
||||
"linkedName": null
|
||||
},
|
||||
{
|
||||
"anchor": {
|
||||
"x": 6.050842639593909,
|
||||
"y": 5.715482233502538
|
||||
},
|
||||
"prevControl": {
|
||||
"x": 6.99789847715736,
|
||||
"y": 5.183713197969544
|
||||
},
|
||||
"nextControl": null,
|
||||
"isLocked": false,
|
||||
"linkedName": null
|
||||
}
|
||||
],
|
||||
"rotationTargets": [
|
||||
{
|
||||
"waypointRelativePos": 1.0045454545454569,
|
||||
"rotationDegrees": -115.0
|
||||
}
|
||||
],
|
||||
"constraintZones": [
|
||||
{
|
||||
"name": "Constraints Zone",
|
||||
"minWaypointRelativePos": 1.1243680485338854,
|
||||
"maxWaypointRelativePos": 2.0,
|
||||
"constraints": {
|
||||
"maxVelocity": 1.0,
|
||||
"maxAcceleration": 1.5,
|
||||
"maxAngularVelocity": 540.0,
|
||||
"maxAngularAcceleration": 720.0,
|
||||
"nominalVoltage": 12.0,
|
||||
"unlimited": false
|
||||
}
|
||||
}
|
||||
],
|
||||
"pointTowardsZones": [],
|
||||
"eventMarkers": [
|
||||
{
|
||||
"name": "Intake Start",
|
||||
"waypointRelativePos": 0.7886754297269942,
|
||||
"endWaypointRelativePos": null,
|
||||
"command": null
|
||||
}
|
||||
],
|
||||
"globalConstraints": {
|
||||
"maxVelocity": 2.0,
|
||||
"maxAcceleration": 1.5,
|
||||
"maxAngularVelocity": 540.0,
|
||||
"maxAngularAcceleration": 720.0,
|
||||
"nominalVoltage": 12.0,
|
||||
"unlimited": false
|
||||
},
|
||||
"goalEndState": {
|
||||
"velocity": 0,
|
||||
"rotation": -120.34324888423971
|
||||
},
|
||||
"reversed": false,
|
||||
"folder": null,
|
||||
"idealStartingState": {
|
||||
"velocity": 0,
|
||||
"rotation": -123.34070734647689
|
||||
},
|
||||
"useDefaultConstraints": true
|
||||
}
|
||||
Reference in New Issue
Block a user