Clean up selection of deadwheel vs swerve poses#372
Open
stephenjust wants to merge 2 commits intomainfrom
Open
Clean up selection of deadwheel vs swerve poses#372stephenjust wants to merge 2 commits intomainfrom
stephenjust wants to merge 2 commits intomainfrom
Conversation
There was a problem hiding this comment.
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
Comments suppressed due to low confidence (2)
src/main/java/competition/subsystems/pose/PoseSubsystem.java:133
- [nitpick] Consider renaming 'useDeadwheelsForVisionPose' to more clearly indicate that it determines whether the full deadwheel or full swerve odometry is used, as the current naming might be slightly ambiguous.
return (PoseEstimator<T>) (this.useDeadwheelsForVisionPose.get() ? this.fullDeadwheelOdometry : this.fullSwerveOdometry);
src/main/java/competition/subsystems/pose/PoseSubsystem.java:147
- [nitpick] Adding inline documentation to clarify the role and intended usage of the secondary estimator would help maintain clarity, given the close resemblance of its logic to the primary estimator.
private <T> PoseEstimator<T> getSecondaryPoseEstimator() {
aschokking
approved these changes
Apr 4, 2025
rokadias
approved these changes
Apr 4, 2025
Contributor
rokadias
left a comment
There was a problem hiding this comment.
Only questionable thing is the update via wheelpositions as its untested persay.
LGTM
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.
Why are we doing this?
We're seeing some weird jumpiness in the pose estimators. I've tried to reason through the Pose Subsystem to make sure that the pose we care about is always updated properly.
Whats changing?
Questions/notes for reviewers
How this was tested
Video/screenshots (from simulator or live robot)
PR feedback legend