-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Added 4-Note v2.0 C213 (Podium First) (#109)
* Added 4-Note v2.0 C213 (Podium First) * 3-Note A45 * Updated drivetrain offsets * Slowed down 3-Note A45 * Fixed note 5 waypoint * Lower stow angle to avoid over bumper penalty * tweaked A45 * use intake v2.0 * Increase acceleration to scoring. Set end goal angle for scoring * Added left/right vision cameras * Added logging of Vision Camera Pose2d * Update pathplanner to v2024.2.8 * Disable left/right cameras on Phoenix * Revert "Disable left/right cameras on Phoenix" This reverts commit 4df29b3. * Revert "Update pathplanner to v2024.2.8" This reverts commit ae36972. * Revert "Added logging of Vision Camera Pose2d" This reverts commit 9f9c24a. * Allow main driver left/right sticks to interrupt driveToPose/driveToYaw (rightBumper) commands * updated a45 * Drive Pose is not used as back if no vision reported (#110) * Drive Pose is not used as back if no vision reported * spotlessApply * Revert phoenix change --------- Co-authored-by: Ethan Porter <[email protected]> --------- Co-authored-by: Ethan Porter <[email protected]>
- Loading branch information
1 parent
d3e9bc1
commit e49f59e
Showing
24 changed files
with
558 additions
and
80 deletions.
There are no files selected for viewing
138 changes: 138 additions & 0 deletions
138
src/main/deploy/pathplanner/autos/3-Note (Amp) A45.auto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,138 @@ | ||
{ | ||
"version": 1.0, | ||
"startingPose": { | ||
"position": { | ||
"x": 1.35, | ||
"y": 6.5 | ||
}, | ||
"rotation": 0.0 | ||
}, | ||
"command": { | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "Between A-C to Between 2-3" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Prepare to Score from Between 2 and 3" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Score from Between 2 and 3" | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "Between 2-3 to 4" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Intake Piece v2.0" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "4 to Between 2-3" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Prepare to Score from Between 2 and 3" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Score from Between 2 and 3" | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "Between 2-3 to 5" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Intake Piece v2.0" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "5 to Between 2-3" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Prepare to Score from Between 2 and 3" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Score from Between 2 and 3" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Turn off Shooter and Intake" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"folder": null, | ||
"choreoAuto": false | ||
} |
163 changes: 163 additions & 0 deletions
163
src/main/deploy/pathplanner/autos/4-Note (Center) v2.0 C213.auto
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,163 @@ | ||
{ | ||
"version": 1.0, | ||
"startingPose": { | ||
"position": { | ||
"x": 1.35, | ||
"y": 5.55 | ||
}, | ||
"rotation": 0 | ||
}, | ||
"command": { | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Score from C (Subwoofer Center)" | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "C to 2" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Intake Piece v2.0" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "2 to C" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Prepare to Score from C (Subwoofer Center)" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Score from C (Subwoofer Center)" | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "C to 1" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Intake Piece v2.0" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "1 to C" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Prepare to Score from C (Subwoofer Center)" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Score from C (Subwoofer Center)" | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "C to 3" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Intake Piece v2.0" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "parallel", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "3 to C" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Prepare to Score from C (Subwoofer Center)" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Score from C (Subwoofer Center)" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "Turn off Shooter and Intake" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"folder": null, | ||
"choreoAuto": false | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.