-
Notifications
You must be signed in to change notification settings - Fork 679
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
fix(ekf_localizer): update the state and publish the estimated pose only after initialization #1607
Conversation
Codecov Report
@@ Coverage Diff @@
## main #1607 +/- ##
==========================================
- Coverage 10.62% 10.60% -0.03%
==========================================
Files 1113 1113
Lines 78585 78739 +154
Branches 18402 18402
==========================================
Hits 8349 8349
- Misses 61505 61659 +154
Partials 8731 8731
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
@IshitaTakeshi Are there any updates on this? What is still needed before making this ready for review? |
@mitsudome-r No, so I turned this into ready |
LGTM from the localization module perspective, but I cannot tell whether other modules (e.g. planning, perception, control) that use the localization results will be OK as well... |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
It's OK 👍 LGTM
@IshitaTakeshi It seems that the semantic-pull-request failed since the commit message is not the same as the PR title. |
I think that both the commit message and the PR title are valid. Why does it fail? |
@IshitaTakeshi I suggest to set first commit message to |
…nly after initialization
2e377f9
to
e26f0ee
Compare
Changed the commit message |
…j-bug fix(autoware_image_projection_based_fusion): pointpainting bug fix for point projection (#9150)
Description
ekf_localizer has a bug that it publishes the default pose (identity) and accepts poses and twists for state update even before state initialization.
To resolve this error, I added a flag that manages the initialization state and made them update the state and publish messages only after the state initialization.
Related links
#1421
Tests performed
The test really needs to be added. But a lot of refactoring work is necessary before writing tests.
Notes for reviewers
Pre-review checklist for the PR author
The PR author must check the checkboxes below when creating the PR.
In-review checklist for the PR reviewers
The PR reviewers must check the checkboxes below before approval.
Post-review checklist for the PR author
The PR author must check the checkboxes below before merging.
After all checkboxes are checked, anyone who has write access can merge the PR.