Skip to content

Commit

Permalink
Merge branch 'main' into new-joystick-command
Browse files Browse the repository at this point in the history
  • Loading branch information
linglejack06 authored Nov 19, 2024
2 parents 67422ab + 7fd85f6 commit 4be4d86
Show file tree
Hide file tree
Showing 34 changed files with 1,249 additions and 198 deletions.
Binary file added src/main/deploy/music/mii_channel.chrp
Binary file not shown.
85 changes: 68 additions & 17 deletions src/main/deploy/pathplanner/autos/Amp Side - 2 Note.auto
Original file line number Diff line number Diff line change
@@ -1,6 +1,12 @@
{
"version": 1.0,
"startingPose": null,
"startingPose": {
"position": {
"x": 0.7071301441350655,
"y": 6.711356821640298
},
"rotation": -118.17859010995917
},
"command": {
"type": "sequential",
"data": {
Expand All @@ -18,15 +24,9 @@
}
},
{
"type": "named",
"data": {
"name": "waitForAlignment"
}
},
{
"type": "named",
"type": "wait",
"data": {
"name": "stopAlignToSpeaker"
"waitTime": 1.0
}
},
{
Expand All @@ -40,9 +40,28 @@
}
},
{
"type": "named",
"type": "sequential",
"data": {
"name": "intakeNote"
"commands": [
{
"type": "wait",
"data": {
"waitTime": 0.5
}
},
{
"type": "named",
"data": {
"name": "intakeNote"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.0
}
}
]
}
}
]
Expand All @@ -51,25 +70,57 @@
{
"type": "named",
"data": {
"name": "alignToSpeaker"
"name": "shootNoteAtSpeaker"
}
},
{
"type": "named",
"type": "wait",
"data": {
"name": "shootNoteAtSpeaker"
"waitTime": 1.0
}
},
{
"type": "named",
"type": "parallel",
"data": {
"name": "waitForAlignment"
"commands": [
{
"type": "path",
"data": {
"pathName": "C1-W1"
}
},
{
"type": "sequential",
"data": {
"commands": [
{
"type": "wait",
"data": {
"waitTime": 1.5
}
},
{
"type": "named",
"data": {
"name": "intakeNote"
}
}
]
}
}
]
}
},
{
"type": "path",
"data": {
"pathName": "W1-Wing"
}
},
{
"type": "named",
"data": {
"name": "stopAlignToSpeaker"
"name": "shootNoteAtSpeaker"
}
}
]
Expand Down
31 changes: 31 additions & 0 deletions src/main/deploy/pathplanner/autos/Amp Side Preload.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 0.7218158264581296,
"y": 6.711356821640298
},
"rotation": -120.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "alignToSpeaker"
}
},
{
"type": "named",
"data": {
"name": "shootNoteAtSpeaker"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
111 changes: 51 additions & 60 deletions src/main/deploy/pathplanner/autos/Center - 4 Note.auto
Original file line number Diff line number Diff line change
Expand Up @@ -24,15 +24,9 @@
}
},
{
"type": "named",
"data": {
"name": "waitForAlignment"
}
},
{
"type": "named",
"type": "wait",
"data": {
"name": "stopAlignToSpeaker"
"waitTime": 0.5
}
},
{
Expand All @@ -46,36 +40,37 @@
}
},
{
"type": "named",
"type": "sequential",
"data": {
"name": "intakeNote"
"commands": [
{
"type": "wait",
"data": {
"waitTime": 0.75
}
},
{
"type": "named",
"data": {
"name": "intakeNote"
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "alignToSpeaker"
}
},
{
"type": "named",
"data": {
"name": "shootNoteAtSpeaker"
}
},
{
"type": "named",
"data": {
"name": "waitForAlignment"
}
},
{
"type": "named",
"type": "wait",
"data": {
"name": "stopAlignToSpeaker"
"waitTime": 0.5
}
},
{
Expand All @@ -89,36 +84,37 @@
}
},
{
"type": "named",
"type": "sequential",
"data": {
"name": "intakeNote"
"commands": [
{
"type": "wait",
"data": {
"waitTime": 0.75
}
},
{
"type": "named",
"data": {
"name": "intakeNote"
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "alignToSpeaker"
}
},
{
"type": "named",
"data": {
"name": "shootNoteAtSpeaker"
}
},
{
"type": "named",
"data": {
"name": "waitForAlignment"
}
},
{
"type": "named",
"type": "wait",
"data": {
"name": "stopAlignToSpeaker"
"waitTime": 0.5
}
},
{
Expand All @@ -132,37 +128,32 @@
}
},
{
"type": "named",
"type": "sequential",
"data": {
"name": "intakeNote"
"commands": [
{
"type": "wait",
"data": {
"waitTime": 0.75
}
},
{
"type": "named",
"data": {
"name": "intakeNote"
}
}
]
}
}
]
}
},
{
"type": "named",
"data": {
"name": "alignToSpeaker"
}
},
{
"type": "named",
"data": {
"name": "shootNoteAtSpeaker"
}
},
{
"type": "named",
"data": {
"name": "waitForAlignment"
}
},
{
"type": "named",
"data": {
"name": "stopAlignToSpeaker"
}
}
]
}
Expand Down
31 changes: 31 additions & 0 deletions src/main/deploy/pathplanner/autos/Center Preload.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.3533001663498863,
"y": 5.521816553472107
},
"rotation": 180.0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "alignToSpeaker"
}
},
{
"type": "named",
"data": {
"name": "shootNoteAtSpeaker"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
Loading

0 comments on commit 4be4d86

Please sign in to comment.