-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* refactored to primary vision system for photonvision * removed northstar instances * remove sim instances * Add field frame estimator Estimates the transform between the odometry frame and the field frame, given drive poses in the odometry frame and vision poses in the field frame. Topic: field-frame-estimator Reviewers: saraansh, rithvik * Pull TimestampedVisionUpdate out of pose estimator Topic: refactor-vision-update Relative: field-frame-estimator Reviewers: saraansh, rithvik, pranav * Use field frame estimator in drivetrain Topic: field-frame-drivetrain-2 Relative: refactor-vision-update Reviewers: saraansh, rithvik, pranav * Pull TimestampedVisionUpdate out of pose estimator Topic: refactor-vision-update Relative: field-frame-estimator Reviewers: saraansh, rithvik, pranav * Use field frame estimator in drivetrain Topic: field-frame-drivetrain-2 Relative: refactor-vision-update Reviewers: saraansh, rithvik, pranav * MVP fixes * change to proper PID constants and use x/y constants * four note auto * reseet pose * apply odomTField on odom pose when state is odom but path is field * update names for path following * even better naming * revert to four note auto * new autos * tune amp score * add characterization * week0 prep * trap scoring * practice changes * rumble w/ intake * week0 final commit * auto tuning 2/25/23 * add superstructure commands * finished auto * test auto path for tuning * any changes * tune auto better * autos so far * target angle command * target angle with gyro * turn down default rpm in auto * autos + voltage comp * vision + spotlessApply * 2/27/24 changes so far * autos butmore efficient * tune times better * turn back to shuffleboard and alliance stuff debugged * Add note sim * add protected high * more note sim * tune auto align * fix conflicts * add leds * display alliance color * finished shuffleboard stuff * autos so far * add prep score command so it actually reaches targeted position * preload + leave autos * make the robot go further into the last note on 4 wing auto * fix left subwoofer path * characterizing wheel radius * drivepractice fixes * final tuning post week 0 * finish tuning protected shot * add auto align * get align working in sim again * quals 1-6 * fix drivetrain zeroing * make all week 1 changes --------- Co-authored-by: AlphaPranav9102 <[email protected]> Co-authored-by: Parth Oza <[email protected]> Co-authored-by: Parth Oza <[email protected]> Co-authored-by: Matthew Choulas <[email protected]> Co-authored-by: Shom770 <[email protected]>
- Loading branch information
1 parent
0af5b02
commit 740e068
Showing
62 changed files
with
3,412 additions
and
1,074 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
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
170 changes: 170 additions & 0 deletions
170
src/main/deploy/pathplanner/paths/4AndPickupNoteAuto.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,170 @@ | ||
{ | ||
"version": 1.0, | ||
"waypoints": [ | ||
{ | ||
"anchor": { | ||
"x": 0.741887381054855, | ||
"y": 6.695925443427855 | ||
}, | ||
"prevControl": null, | ||
"nextControl": { | ||
"x": 1.3249004714516954, | ||
"y": 6.550174838486252 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 2.511115021072635, | ||
"y": 6.9832349513151 | ||
}, | ||
"prevControl": { | ||
"x": 2.212410438221992, | ||
"y": 6.990643205161632 | ||
}, | ||
"nextControl": { | ||
"x": 2.824296168340601, | ||
"y": 6.975467660245216 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 1.5082724716954066, | ||
"y": 5.488743105018038 | ||
}, | ||
"prevControl": { | ||
"x": 2.125198127424631, | ||
"y": 5.366730902594161 | ||
}, | ||
"nextControl": { | ||
"x": 1.4444384407793702, | ||
"y": 5.501367852634432 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 2.388440350339902, | ||
"y": 5.488743105018038 | ||
}, | ||
"prevControl": { | ||
"x": 1.6754803456796465, | ||
"y": 5.471219489931063 | ||
}, | ||
"nextControl": { | ||
"x": 2.7106112717723123, | ||
"y": 5.496661640675712 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 1.5082724716954066, | ||
"y": 5.488743105018038 | ||
}, | ||
"prevControl": { | ||
"x": 2.7225892863967442, | ||
"y": 5.521583593948438 | ||
}, | ||
"nextControl": { | ||
"x": 1.4220056676836053, | ||
"y": 5.486410069694874 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 7.786221898253982, | ||
"y": 7.42479630901102 | ||
}, | ||
"prevControl": { | ||
"x": 7.15588177827108, | ||
"y": 7.266533230042734 | ||
}, | ||
"nextControl": { | ||
"x": 8.416562018236883, | ||
"y": 7.583059387979306 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 1.5082724716954066, | ||
"y": 5.488743105018038 | ||
}, | ||
"prevControl": { | ||
"x": 2.672514522173267, | ||
"y": 5.695384322269494 | ||
}, | ||
"nextControl": { | ||
"x": 1.3904431950573972, | ||
"y": 5.467829597262204 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 7.786221898253982, | ||
"y": 5.7846202012571855 | ||
}, | ||
"prevControl": { | ||
"x": 6.538274967970654, | ||
"y": 7.594698262132346 | ||
}, | ||
"nextControl": { | ||
"x": 9.03416882853731, | ||
"y": 3.9745421403820247 | ||
}, | ||
"isLocked": false, | ||
"linkedName": null | ||
}, | ||
{ | ||
"anchor": { | ||
"x": 4.834244879861288, | ||
"y": 4.06537564992086 | ||
}, | ||
"prevControl": { | ||
"x": 6.9342068541992985, | ||
"y": 4.043525214419497 | ||
}, | ||
"nextControl": null, | ||
"isLocked": false, | ||
"linkedName": null | ||
} | ||
], | ||
"rotationTargets": [ | ||
{ | ||
"waypointRelativePos": 1, | ||
"rotationDegrees": 180.0, | ||
"rotateFast": false | ||
} | ||
], | ||
"constraintZones": [], | ||
"eventMarkers": [], | ||
"globalConstraints": { | ||
"maxVelocity": 3.0, | ||
"maxAcceleration": 3.0, | ||
"maxAngularVelocity": 270.0, | ||
"maxAngularAcceleration": 600.0 | ||
}, | ||
"goalEndState": { | ||
"velocity": 0, | ||
"rotation": 180.0, | ||
"rotateFast": false | ||
}, | ||
"reversed": false, | ||
"folder": null, | ||
"previewStartingState": { | ||
"rotation": 60.0, | ||
"velocity": 0 | ||
}, | ||
"useDefaultConstraints": false | ||
} |
Oops, something went wrong.