Skip to content

Commit

Permalink
Merge pull request #3 from FRC-4509-MechBulls/feature-3d-vis
Browse files Browse the repository at this point in the history
3d vis, autos
  • Loading branch information
IsaacThoman authored Feb 5, 2024
2 parents 92686c2 + 41ce83b commit 6c1675f
Show file tree
Hide file tree
Showing 36 changed files with 1,672 additions and 42 deletions.
6 changes: 5 additions & 1 deletion .pathplanner/settings.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,11 @@
"robotWidth": 0.9,
"robotLength": 0.9,
"holonomicMode": true,
"pathFolders": [],
"pathFolders": [
"4 amp auto",
"4 speaker auto",
"2 amp 2 speaker"
],
"autoFolders": [],
"defaultMaxVel": 5.0,
"defaultMaxAccel": 3.0,
Expand Down
175 changes: 175 additions & 0 deletions src/main/deploy/pathplanner/autos/four-amp.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,175 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.35,
"y": 7.22
},
"rotation": 90.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "setObjectiveAmp"
}
},
{
"type": "named",
"data": {
"name": "readyToShootMode"
}
},
{
"type": "path",
"data": {
"pathName": "ampstart"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.7
}
},
{
"type": "named",
"data": {
"name": "ejectMode"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.2
}
},
{
"type": "named",
"data": {
"name": "intakeMode"
}
},
{
"type": "path",
"data": {
"pathName": "amp0"
}
},
{
"type": "named",
"data": {
"name": "readyToShootMode"
}
},
{
"type": "path",
"data": {
"pathName": "amp1"
}
},
{
"type": "named",
"data": {
"name": "ejectMode"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.2
}
},
{
"type": "named",
"data": {
"name": "intakeMode"
}
},
{
"type": "path",
"data": {
"pathName": "amp2"
}
},
{
"type": "named",
"data": {
"name": "readyToShootMode"
}
},
{
"type": "path",
"data": {
"pathName": "amp3"
}
},
{
"type": "named",
"data": {
"name": "ejectMode"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.2
}
},
{
"type": "named",
"data": {
"name": "intakeMode"
}
},
{
"type": "path",
"data": {
"pathName": "amp4"
}
},
{
"type": "named",
"data": {
"name": "readyToShootMode"
}
},
{
"type": "path",
"data": {
"pathName": "amp5"
}
},
{
"type": "named",
"data": {
"name": "ejectMode"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.2
}
},
{
"type": "named",
"data": {
"name": "holdMode"
}
},
{
"type": "path",
"data": {
"pathName": "amp6"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
195 changes: 195 additions & 0 deletions src/main/deploy/pathplanner/autos/four-speaker.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,195 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.441414260288271,
"y": 5.53650223579517
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "setObjectiveSpeaker"
}
},
{
"type": "named",
"data": {
"name": "readyToShootMode"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.75
}
},
{
"type": "named",
"data": {
"name": "ejectMode"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.3
}
},
{
"type": "named",
"data": {
"name": "intakeMode"
}
},
{
"type": "path",
"data": {
"pathName": "speaker0"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.0
}
},
{
"type": "named",
"data": {
"name": "readyToShootMode"
}
},
{
"type": "path",
"data": {
"pathName": "speaker1"
}
},
{
"type": "named",
"data": {
"name": "ejectMode"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.15
}
},
{
"type": "named",
"data": {
"name": "intakeMode"
}
},
{
"type": "path",
"data": {
"pathName": "speaker2"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.0
}
},
{
"type": "named",
"data": {
"name": "readyToShootMode"
}
},
{
"type": "path",
"data": {
"pathName": "speaker3"
}
},
{
"type": "named",
"data": {
"name": "ejectMode"
}
},
{
"type": "wait",
"data": {
"waitTime": 0.15
}
},
{
"type": "named",
"data": {
"name": "intakeMode"
}
},
{
"type": "path",
"data": {
"pathName": "speaker4"
}
},
{
"type": "named",
"data": {
"name": "readyToShootMode"
}
},
{
"type": "path",
"data": {
"pathName": "speaker5"
}
},
{
"type": "named",
"data": {
"name": "ejectMode"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "speaker6"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 0.3
}
},
{
"type": "named",
"data": {
"name": "intakeMode"
}
}
]
}
}
]
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
Loading

0 comments on commit 6c1675f

Please sign in to comment.