Pose estimation v2#154
Open
KangarooKoala wants to merge 18 commits into
Open
Conversation
Changed from inches to meters Extracted turret relative velocity to separate method Reformatted pose doc comments Added method to convert from Vector2 to Translation2d to GeoConvertor
Added doc comment to TargetLocalizer specifying field-centric poses Switched back to inches (should discuss and finalize) Switched from hub-centric to field-centric Added null checks for gyro angle Added getGyroscopeYaw() and getFieldCentricTurretAngle() Removed getVisionGyroRobotPoseRelativeToStart() Specified frames of reference Formatted some doc comments
Contributor
Author
|
Next update is to combine drivebase pose and vision+gyro pose with |
Contributor
Author
|
Also, we should decide if we're going to use inches or meters. |
…to pose-estimation
Made startingPose and gyroAdjustmentAngle non-final Added resetPose() and resetPoseFromAutoStartPose() Reset target localizer pose in autonomousInit()
TAKBS2412
reviewed
Mar 29, 2022
Contributor
TAKBS2412
left a comment
There was a problem hiding this comment.
Haven't examined the math in detail yet will look later.
Also fixed typo in docs
TAKBS2412
reviewed
Mar 30, 2022
…to pose-estimation
…to pose-estimation
…to pose-estimation Used turretAngularFF instead of TURRET_ANGULAR_FF
…to pose-estimation Fix typo in getDepthVelocity() Added check if the limelight has a target before filtering
…to pose-estimation
…to pose-estimation
…to pose-estimation
…to pose-estimation
…to pose-estimation
Separate pose estimation logic Change getTurretAngle() to be CCW-positive
Remove doc comment parameter for removed parameter Change ROBOT_CENTRIC_TURRET_CENTER to +X axis forward (intake side) Remove unused startingPose Ignore turret bias in pose estimation
…to pose-estimation
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Switched from 2910 to WPILib geometry classes
Added method to convert from
Vector2toTranslation2dReformatted doc comments
Specified field-centric frame of reference
Switched from hub-centric to field-centric
Added null checks for gyro angle
Added
getGyroscopeYaw()andgetFieldCentricTurretAngle()Removed
getVisionGyroRobotPoseRelativeToStart()Specified method frames of reference