-
Notifications
You must be signed in to change notification settings - Fork 3
Fix Pose Bug (Issue #140) #141
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Draft
tbowers7
wants to merge
9
commits into
main
Choose a base branch
from
fix_pose_bug
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Draft
Conversation
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
* Add vision examples from good teams * WIP: Getting 254's vision code to compile * FRC254's 2024 vision code builds! -- Next step is to mesh in the parts of the vision code I need for the circular vision buffer to the base vision subsystem. * WIP: Adding SPAM's vision code * SPAM / FRC180 vision now builds -- The vision subsystem from FRC180 / SPAM now builds within the 2486 code base. Next steps are to figure out which parts of the various vision combination schemes I want to use and hack together something! * Add 6328's 2025 drive-to-pose algorithm * Make cleaner diff against Az-RBSI * Update FRC254's vision to 2025 version * Fix rebase error * Clean non-ASCII characters * Compilable Vision with pose buffering -- Create a pose buffer and use timestamps to match vision values with those from odometry to reduce jitter. Also be able to define certain tags in whose location we trust more (e.g. HUB in 2026) in the event of field misshapenness. Weave the new Vision structure together with the drivetrain to allow for timestamped pose insertion into the estimator. --------- Co-authored-by: NutHouse coco-prog-3 <github@team2486.org>
* Clean up the Accelerometer / IMU subsystems -- Clean up the code, but also specifically allow the RIO or IMU to be "on its side" (i.e., Z is not necessarily "up"). * Clean up Drive.java * Clean the Moudule modules a bit * Clean non-ASCII characters * Reduce drivebase periodic cycle time by using primitives * Clean up the Vision module
The SIM mode was not separately gated behind an `else`, so REAL mode was double-adding pose estimates.
Collaborator
Author
|
Apparently, the gyro with the new pose buffering is having problems, too. 🤦 |
627a9da to
2b8c50e
Compare
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.
Fix the pose bug described in #140 .
The background is that the combination of vision with the new pose buffer causes wild oscillations in the
Pose2dYAW of the robot, even when the robot is physically not moving.In Progress
This PR is still in progress.
Closes #140.