Skip to content

Commit

Permalink
upload some autos
Browse files Browse the repository at this point in the history
  • Loading branch information
Anhysteretic committed Nov 6, 2024
1 parent c45ccc2 commit 21f08bc
Show file tree
Hide file tree
Showing 18 changed files with 703 additions and 129 deletions.
14 changes: 14 additions & 0 deletions .pathplanner/settings.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,14 @@
{
"robotWidth": 0.9,
"robotLength": 0.9,
"holonomicMode": true,
"pathFolders": [
"Geo Autos "
],
"autoFolders": [],
"defaultMaxVel": 3.0,
"defaultMaxAccel": 3.0,
"defaultMaxAngVel": 540.0,
"defaultMaxAngAccel": 720.0,
"maxModuleSpeed": 4.5
}
210 changes: 210 additions & 0 deletions src/main/deploy/pathplanner/autos/Geo A1_78.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,210 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.41,
"y": 7.29
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "SpinUp"
}
},
{
"type": "path",
"data": {
"pathName": "Copy_A_Preload - Blue"
}
},
{
"type": "named",
"data": {
"name": "JustShoot"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.15
}
},
{
"type": "named",
"data": {
"name": "stopIndexer"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Copy A_Preload_1 - Blue"
}
},
{
"type": "named",
"data": {
"name": "aIntake"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "JustShoot"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.15
}
},
{
"type": "named",
"data": {
"name": "stopIndexer"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "A_1"
}
},
{
"type": "named",
"data": {
"name": "aIntake"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.15
}
},
{
"type": "named",
"data": {
"name": "stopIndexer"
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "A_7"
}
},
{
"type": "named",
"data": {
"name": "SpinUp"
}
},
{
"type": "named",
"data": {
"name": "JustShoot"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.15
}
},
{
"type": "named",
"data": {
"name": "stopIndexer"
}
},
{
"type": "race",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "A_8_"
}
},
{
"type": "named",
"data": {
"name": "aIntake"
}
}
]
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "A_Shoot"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 2.0
}
},
{
"type": "named",
"data": {
"name": "JustShoot"
}
}
]
}
}
]
}
},
{
"type": "wait",
"data": {
"waitTime": 0.15
}
},
{
"type": "named",
"data": {
"name": "STOPALL"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
2 changes: 1 addition & 1 deletion src/main/deploy/pathplanner/autos/Red - A123_6.auto
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
"x": 1.39,
"y": 7.33
},
"rotation": 180.0
"rotation": -170.53611698914128
},
"command": {
"type": "sequential",
Expand Down
12 changes: 6 additions & 6 deletions src/main/deploy/pathplanner/paths/4_in - Blue.path
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,16 @@
"y": 0.8776055734329787
},
"isLocked": false,
"linkedName": "C-Preload_4 - Blue"
"linkedName": null
},
{
"anchor": {
"x": 2.167438767095844,
"y": 3.7804537889005365
"x": 2.4851032868970147,
"y": 3.2439017231814775
},
"prevControl": {
"x": 3.6453437205634085,
"y": 1.9880649713301088
"x": 3.9630082403645748,
"y": 1.4515129056110494
},
"nextControl": null,
"isLocked": false,
Expand All @@ -43,7 +43,7 @@
"rotateFast": false
},
"reversed": false,
"folder": "Middle In - Blue",
"folder": null,
"previewStartingState": null,
"useDefaultConstraints": true
}
8 changes: 4 additions & 4 deletions src/main/deploy/pathplanner/paths/A78.path
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"waypoints": [
{
"anchor": {
"x": 8.793745215131274,
"y": 7.618991561339931
"x": 2.3914165945307624,
"y": 6.464381773271393
},
"prevControl": null,
"nextControl": {
"x": 7.110891792206119,
"y": 6.787120053846916
"x": 4.471350440497107,
"y": 6.648446715392308
},
"isLocked": false,
"linkedName": null
Expand Down
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/A_1.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.49,
"y": 6.46
},
"prevControl": null,
"nextControl": {
"x": 4.5481609452008165,
"y": 6.735622341110154
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 8.012565621543798,
"y": 7.38
},
"prevControl": {
"x": 8.041668844268257,
"y": 7.38
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -171.41637851988602,
"rotateFast": false
},
"reversed": false,
"folder": "Geo Autos ",
"previewStartingState": {
"rotation": -156.77014046793445,
"velocity": 0
},
"useDefaultConstraints": true
}
52 changes: 52 additions & 0 deletions src/main/deploy/pathplanner/paths/A_7.path
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 8.01,
"y": 7.38
},
"prevControl": null,
"nextControl": {
"x": 6.898972721712261,
"y": 7.2061424840338475
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 2.49,
"y": 6.46
},
"prevControl": {
"x": 4.3975509494466705,
"y": 6.753512138190412
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
"maxAngularVelocity": 540.0,
"maxAngularAcceleration": 720.0
},
"goalEndState": {
"velocity": 0,
"rotation": -153.69779832365407,
"rotateFast": false
},
"reversed": false,
"folder": "Geo Autos ",
"previewStartingState": {
"rotation": -170.61087914558655,
"velocity": 0
},
"useDefaultConstraints": true
}
Loading

0 comments on commit 21f08bc

Please sign in to comment.