Skip to content

Commit

Permalink
4 piece auto from the subwoofer
Browse files Browse the repository at this point in the history
  • Loading branch information
elvizer committed Oct 20, 2024
1 parent 8774950 commit e6d5d6b
Show file tree
Hide file tree
Showing 25 changed files with 119 additions and 47 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
]
}
},
"folder": "1 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
]
}
},
"folder": "1 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,6 @@
]
}
},
"folder": "1 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
]
}
},
"folder": "2 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
]
}
},
"folder": "2 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,6 @@
]
}
},
"folder": "2 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
]
}
},
"folder": "3 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -62,6 +62,6 @@
]
}
},
"folder": "3 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
]
}
},
"folder": "3 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
]
}
},
"folder": "3 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
]
}
},
"folder": "3 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
]
}
},
"folder": "3 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
]
}
},
"folder": "3 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -56,6 +56,6 @@
]
}
},
"folder": "3 Piece",
"folder": null,
"choreoAuto": false
}
54 changes: 37 additions & 17 deletions src/main/deploy/pathplanner/autos/4 Piece 4 Notes.auto
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@
{
"type": "path",
"data": {
"pathName": "Center Note to Center Sub"
"pathName": "Top Note to Center Subwoofer"
}
},
{
Expand All @@ -49,44 +49,64 @@
}
},
{
"type": "named",
"type": "path",
"data": {
"name": "actuateInFast"
"pathName": "Center Subwoofer to Center Note"
}
},
{
"type": "named",
"type": "parallel",
"data": {
"name": "shoot"
"commands": [
{
"type": "path",
"data": {
"pathName": "Center Note to Subwoofer"
}
},
{
"type": "named",
"data": {
"name": "actuateInFast"
}
}
]
}
},
{
"type": "path",
"type": "named",
"data": {
"pathName": "Center Subwoofer to Center Note"
"name": "shoot"
}
},
{
"type": "path",
"data": {
"pathName": "Center Note to Center Sub"
}
},
{
"type": "named",
"data": {
"name": "actuateInFast"
"pathName": "Center Subwoofer to Bottom Note"
}
},
{
"type": "named",
"type": "parallel",
"data": {
"name": "shoot"
"commands": [
{
"type": "path",
"data": {
"pathName": "Bottom Note to Center Subwoofer"
}
},
{
"type": "named",
"data": {
"name": "actuateInFast"
}
}
]
}
}
]
}
},
"folder": "4 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@
]
}
},
"folder": "4 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@
]
}
},
"folder": "4 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@
]
}
},
"folder": "4 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@
]
}
},
"folder": "4 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@
]
}
},
"folder": "4 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,6 @@
]
}
},
"folder": "4 Piece",
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,52 @@
{
"version": 1.0,
"waypoints": [
{
"anchor": {
"x": 2.457499476402462,
"y": 4.095579945545856
},
"prevControl": null,
"nextControl": {
"x": 2.1763833001350212,
"y": 4.149989528049232
},
"isLocked": false,
"linkedName": null
},
{
"anchor": {
"x": 1.47,
"y": 5.56
},
"prevControl": {
"x": 1.5416048375956402,
"y": 5.455819508130244
},
"nextControl": null,
"isLocked": false,
"linkedName": null
}
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"globalConstraints": {
"maxVelocity": 4.6,
"maxAcceleration": 3.0,
"maxAngularVelocity": 450.0,
"maxAngularAcceleration": 360.0
},
"goalEndState": {
"velocity": 0,
"rotation": 180.0,
"rotateFast": false
},
"reversed": false,
"folder": "Starting Paths",
"previewStartingState": {
"rotation": 180.0,
"velocity": 0
},
"useDefaultConstraints": true
}
Original file line number Diff line number Diff line change
Expand Up @@ -3,13 +3,13 @@
"waypoints": [
{
"anchor": {
"x": 2.377154468594652,
"y": 5.55593454044051
"x": 2.5209773226564,
"y": 5.56
},
"prevControl": null,
"nextControl": {
"x": 1.7761166950905336,
"y": 5.585253456221199
"x": 1.9199395491522817,
"y": 5.589318915780689
},
"isLocked": false,
"linkedName": null
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,12 +3,12 @@
"waypoints": [
{
"anchor": {
"x": 1.4661550043820806,
"x": 1.5,
"y": 5.55593454044051
},
"prevControl": null,
"nextControl": {
"x": 1.964792106315007,
"x": 1.9986371019329263,
"y": 5.55593454044051
},
"isLocked": false,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -8,8 +8,8 @@
},
"prevControl": null,
"nextControl": {
"x": 2.1572626002432207,
"y": 5.878442614024452
"x": 2.457499476402462,
"y": 6.208485399426939
},
"isLocked": false,
"linkedName": null
Expand All @@ -20,8 +20,8 @@
"y": 5.56
},
"prevControl": {
"x": 1.164474241229184,
"y": 5.369566461238185
"x": 1.5778778925978905,
"y": 5.637184783141497
},
"nextControl": null,
"isLocked": false,
Expand Down

0 comments on commit e6d5d6b

Please sign in to comment.