Skip to content
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

[wpimath] Fix C++ pose estimator poseEstimate initialization #7249

Merged

Conversation

KangarooKoala
Copy link
Contributor

Prior to this change, because the base class (PoseEstimator) constructor was run before the derived class (e.g., DifferentialDrivePoseEstimator) constructor, m_poseEstimate would be initialized with m_odometry.GetPose() before m_odometry was actually initialized. Don't know how this passed asan...

I'm not sure if we should change Java as well, since this part of the initialization already differs.

@KangarooKoala KangarooKoala requested a review from a team as a code owner October 22, 2024 02:57
Co-authored-by: Tyler Veness <calcmogul@gmail.com>
@PeterJohnson PeterJohnson merged commit 6745fc7 into wpilibsuite:main Oct 22, 2024
43 checks passed
@KangarooKoala KangarooKoala deleted the fix-pose-estimator-initialization branch October 22, 2024 13:24
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants