Skip to content

Commit

Permalink
modify paths to put intake down earlier
Browse files Browse the repository at this point in the history
  • Loading branch information
Harsh-Sinha committed Mar 5, 2024
1 parent 41b0093 commit 6a39bfd
Show file tree
Hide file tree
Showing 3 changed files with 53 additions and 22 deletions.
35 changes: 15 additions & 20 deletions src/main/deploy/pathplanner/autos/Middle_4_Piece.auto
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,22 @@
"data": {
"commands": [
{
"type": "named",
"type": "parallel",
"data": {
"name": "SubShoot"
"commands": [
{
"type": "named",
"data": {
"name": "SubShoot"
}
},
{
"type": "named",
"data": {
"name": "SmartIntakeCommand"
}
}
]
}
},
{
Expand All @@ -23,12 +36,6 @@
"pathName": "Preloaded_TopNote"
}
},
{
"type": "named",
"data": {
"name": "SmartIntakeCommand"
}
},
{
"type": "named",
"data": {
Expand All @@ -41,12 +48,6 @@
"pathName": "TopNote_MiddleNote"
}
},
{
"type": "named",
"data": {
"name": "SmartIntakeCommand"
}
},
{
"type": "named",
"data": {
Expand All @@ -59,12 +60,6 @@
"pathName": "MiddleNote_BottomNote"
}
},
{
"type": "named",
"data": {
"name": "SmartIntakeCommand"
}
},
{
"type": "named",
"data": {
Expand Down
20 changes: 19 additions & 1 deletion src/main/deploy/pathplanner/paths/MiddleNote_BottomNote.path
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,25 @@
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"eventMarkers": [
{
"name": "New Event Marker",
"waypointRelativePos": 0.4,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "SmartIntakeCommand"
}
}
]
}
}
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
Expand Down
20 changes: 19 additions & 1 deletion src/main/deploy/pathplanner/paths/TopNote_MiddleNote.path
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,25 @@
],
"rotationTargets": [],
"constraintZones": [],
"eventMarkers": [],
"eventMarkers": [
{
"name": "New Event Marker",
"waypointRelativePos": 0.4,
"command": {
"type": "parallel",
"data": {
"commands": [
{
"type": "named",
"data": {
"name": "SmartIntakeCommand"
}
}
]
}
}
}
],
"globalConstraints": {
"maxVelocity": 3.0,
"maxAcceleration": 3.0,
Expand Down

0 comments on commit 6a39bfd

Please sign in to comment.