Skip to content

Commit

Permalink
New Autons
Browse files Browse the repository at this point in the history
  • Loading branch information
Rand0mAsianKid committed Jul 20, 2024
1 parent 5d85918 commit 17be74b
Show file tree
Hide file tree
Showing 36 changed files with 576 additions and 775 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -24,22 +24,9 @@
}
},
{
"type": "deadline",
"type": "named",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Center Field Limelight 2"
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
"name": "Limelight Intake CW"
}
},
{
Expand All @@ -48,54 +35,22 @@
"pathName": "Center Field Limelight 3"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "AlignToAprilTagMegaTag2"
}
},
{
"type": "named",
"data": {
"name": "AimArmSpeakerMT2"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "PassToOuttake"
"name": "Shoot"
}
},
{
"type": "named",
"type": "path",
"data": {
"name": "ArmToGround"
"pathName": "Center Field Limelight 4"
}
},
{
"type": "deadline",
"type": "named",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Center Field Limelight 4"
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
"name": "Limelight Intake CW"
}
},
{
Expand All @@ -104,41 +59,22 @@
"pathName": "Center Field Limelight 5"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "AlignToAprilTagMegaTag2"
}
},
{
"type": "named",
"data": {
"name": "AimArmSpeakerMT2"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "PassToOuttake"
"name": "Shoot"
}
},
{
"type": "named",
"type": "path",
"data": {
"name": "ArmToGround"
"pathName": "Center Field Limelight 6"
}
},
{
"type": "path",
"type": "named",
"data": {
"pathName": "Center Field Limelight 6"
"name": "Limelight Intake CW"
}
}
]
Expand Down
115 changes: 13 additions & 102 deletions src/main/deploy/pathplanner/autos/Center Field Limelight.auto
Original file line number Diff line number Diff line change
Expand Up @@ -11,35 +11,10 @@
"type": "sequential",
"data": {
"commands": [
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "AlignToAprilTagMegaTag2"
}
},
{
"type": "named",
"data": {
"name": "AimArmSpeakerMT2"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "PassToOuttake"
}
},
{
"type": "named",
"data": {
"name": "ArmToGround"
"name": "Shoot"
}
},
{
Expand All @@ -49,22 +24,9 @@
}
},
{
"type": "deadline",
"type": "named",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Center Field Limelight 2"
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
"name": "Limelight Intake CW"
}
},
{
Expand All @@ -73,54 +35,22 @@
"pathName": "Center Field Limelight 3"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "AlignToAprilTagMegaTag2"
}
},
{
"type": "named",
"data": {
"name": "AimArmSpeakerMT2"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "PassToOuttake"
"name": "Shoot"
}
},
{
"type": "named",
"type": "path",
"data": {
"name": "ArmToGround"
"pathName": "Center Field Limelight 4"
}
},
{
"type": "deadline",
"type": "named",
"data": {
"commands": [
{
"type": "path",
"data": {
"pathName": "Center Field Limelight 4"
}
},
{
"type": "named",
"data": {
"name": "Intake"
}
}
]
"name": "Limelight Intake CW"
}
},
{
Expand All @@ -129,41 +59,22 @@
"pathName": "Center Field Limelight 5"
}
},
{
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "AlignToAprilTagMegaTag2"
}
},
{
"type": "named",
"data": {
"name": "AimArmSpeakerMT2"
}
}
]
}
},
{
"type": "named",
"data": {
"name": "PassToOuttake"
"name": "Shoot"
}
},
{
"type": "named",
"type": "path",
"data": {
"name": "ArmToGround"
"pathName": "Center Field Limelight 6"
}
},
{
"type": "path",
"type": "named",
"data": {
"pathName": "Center Field Limelight 6"
"name": "Limelight Intake CW"
}
}
]
Expand Down
31 changes: 31 additions & 0 deletions src/main/deploy/pathplanner/autos/Center Forward.auto
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
{
"version": 1.0,
"startingPose": {
"position": {
"x": 1.335176614373586,
"y": 5.535530663936646
},
"rotation": 0
},
"command": {
"type": "sequential",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "Shoot"
}
},
{
"type": "path",
"data": {
"pathName": "Center Forward"
}
}
]
}
},
"folder": null,
"choreoAuto": false
}
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
{
"type": "named",
"data": {
"name": "Limelight Intake CCW"
"name": "Limelight Intake Straight"
}
},
{
Expand All @@ -44,7 +44,7 @@
{
"type": "named",
"data": {
"name": "Limelight Intake CW"
"name": "Limelight Intake CCW"
}
},
{
Expand All @@ -62,7 +62,7 @@
{
"type": "named",
"data": {
"name": "Limelight Intake CCW"
"name": "Limelight Intake CW"
}
},
{
Expand Down Expand Up @@ -104,7 +104,7 @@
{
"type": "named",
"data": {
"name": "Limelight Intake CCW"
"name": "Limelight Intake Straight"
}
}
]
Expand Down
Loading

0 comments on commit 17be74b

Please sign in to comment.