Skip to content

Commit

Permalink
move on if intake fails
Browse files Browse the repository at this point in the history
  • Loading branch information
audreypj committed Mar 22, 2024
1 parent 8f54822 commit 26ab49f
Show file tree
Hide file tree
Showing 3 changed files with 73 additions and 10 deletions.
34 changes: 30 additions & 4 deletions src/main/deploy/pathplanner/autos/3shotPose3.auto
Original file line number Diff line number Diff line change
Expand Up @@ -82,9 +82,22 @@
}
},
{
"type": "named",
"type": "race",
"data": {
"name": "IntakeCommand"
"commands": [
{
"type": "named",
"data": {
"name": "IntakeCommand"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
}
]
Expand Down Expand Up @@ -154,9 +167,22 @@
}
},
{
"type": "named",
"type": "race",
"data": {
"name": "IntakeCommand"
"commands": [
{
"type": "named",
"data": {
"name": "IntakeCommand"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.5
}
}
]
}
}
]
Expand Down
33 changes: 29 additions & 4 deletions src/main/deploy/pathplanner/autos/4ShotPose2.auto
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,20 @@
}
},
{
"type": "sequential",
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "IntakeCommand"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
Expand Down Expand Up @@ -116,14 +122,20 @@
}
},
{
"type": "sequential",
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "IntakeCommand"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
Expand Down Expand Up @@ -196,9 +208,22 @@
}
},
{
"type": "named",
"type": "race",
"data": {
"name": "IntakeCommand"
"commands": [
{
"type": "named",
"data": {
"name": "IntakeCommand"
}
},
{
"type": "wait",
"data": {
"waitTime": 2.0
}
}
]
}
}
]
Expand Down
16 changes: 14 additions & 2 deletions src/main/deploy/pathplanner/autos/5ShotPose2.auto
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,20 @@
}
},
{
"type": "sequential",
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "IntakeCommand"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
Expand Down Expand Up @@ -116,14 +122,20 @@
}
},
{
"type": "sequential",
"type": "race",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "IntakeCommand"
}
},
{
"type": "wait",
"data": {
"waitTime": 1.5
}
}
]
}
Expand Down

0 comments on commit 26ab49f

Please sign in to comment.