generated from StuyPulse/Phil
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Port note vision from retep nr/note-detection * Make note aligned drive command * Revert "Merge branch 'main' into note-detection" This reverts commit 974ad00, reversing changes made to ac7eb66. * deadbanding alignment + filters * Port note vision from retep nr/note-detection * Make note aligned drive command * Revert "Merge branch 'main' into note-detection" This reverts commit 974ad00, reversing changes made to ac7eb66. * deadbanding alignment + filters * Merge main into note-detection * Merge main into note-detection * Remove random Settings.NoteAlignment * Note detection code * Make note translation field relative (unfinished) * Fix note field relative positioning * remove turn stream from note aligned drive, add center to intake front constant * Update method name * Add note detectionn test auto * Add DriveToAutoStart * Add NaN and large value check to odometry * Use distance to determine isFinished * Tune values * Run other side autons * add SwerveDriveDriveToChain for test * Fix swervedrive to chain --------- Co-authored-by: Naowal Rahman <naowal.ar@gmail.com> Co-authored-by: Ivan Chen <ivanchen07@gmail.com> Co-authored-by: Keobkeig <angela.xue3@gmail.com>
- Loading branch information
1 parent
0848677
commit a81a877
Showing
25 changed files
with
722 additions
and
86 deletions.
There are no files selected for viewing
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
43 changes: 43 additions & 0 deletions
43
src/main/deploy/pathplanner/autos/Note Detection Test.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,43 @@ | ||
{ | ||
"version": 1.0, | ||
"startingPose": { | ||
"position": { | ||
"x": 1.3033866247492334, | ||
"y": 6.814737809886499 | ||
}, | ||
"rotation": 0 | ||
}, | ||
"command": { | ||
"type": "sequential", | ||
"data": { | ||
"commands": [ | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "intake acquire" | ||
} | ||
}, | ||
{ | ||
"type": "path", | ||
"data": { | ||
"pathName": "Note Detection Path" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "drive to note" | ||
} | ||
}, | ||
{ | ||
"type": "named", | ||
"data": { | ||
"name": "intake stop" | ||
} | ||
} | ||
] | ||
} | ||
}, | ||
"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
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
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
49 changes: 49 additions & 0 deletions
49
src/main/deploy/pathplanner/paths/Note Detection Path.path
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,49 @@ | ||
{ | ||
"version": 1.0, | ||
"waypoints": [ | ||
{ | ||
"anchor": { | ||
"x": 1.3033866247492334, | ||
"y": 6.814737809886499 | ||
}, | ||
"prevControl": null, | ||
"nextControl": { | ||
"x": 2.421420613499129, | ||
"y": 6.814737809886499 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 3.9788388950331144, | ||
"y": 5.384346760266148 | ||
}, | ||
"prevControl": { | ||
"x": 3.3859563993722896, | ||
"y": 6.314936615260962 | ||
}, | ||
"nextControl": null, | ||
"isLocked": false, | ||
"linkedName": null | ||
} | ||
], | ||
"rotationTargets": [], | ||
"constraintZones": [], | ||
"eventMarkers": [], | ||
"globalConstraints": { | ||
"maxVelocity": 2.0, | ||
"maxAcceleration": 4.0, | ||
"maxAngularVelocity": 540.0, | ||
"maxAngularAcceleration": 720.0 | ||
}, | ||
"goalEndState": { | ||
"velocity": 1.0, | ||
"rotation": -40.0, | ||
"rotateFast": false | ||
}, | ||
"reversed": false, | ||
"folder": null, | ||
"previewStartingState": null, | ||
"useDefaultConstraints": 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
Oops, something went wrong.