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

feat(ekf_localizer): check whether the initialpose has been set #9787

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

YamatoAndo
Copy link
Contributor

Description

Since there are cases where the ekf_localizer does not function properly without the initialpose being set, I’ve added a check to ensure whether initialpose is configured.

If it is not set:

  • The estimation process will not execute, and no estimation results will be output.

  • /diagnostics will transition to the WARN state.

Additionally, if the ekf_localizer transitions to an inactive state (e.g., due to re-running the pose_initializer), the initialpose must be set again.

Related links

Parent Issue:

  • Link

How was this PR tested?

  • I tested with logging_simulator same as before.
  • I changed the topic name for the input initialpose of ekf_localizer (/initialpose3d) to create a situation where the initialpose is not set, and confirmed that the behavior matches the description above.
Screenshot from 2024-12-25 18-09-00

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: Yamato Ando <[email protected]>
Signed-off-by: Yamato Ando <[email protected]>
@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:localization Vehicle's position determination in its environment. (auto-assigned) labels Dec 25, 2024
Copy link

github-actions bot commented Dec 25, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:localization Vehicle's position determination in its environment. (auto-assigned) type:documentation Creating or refining documentation. (auto-assigned)
Projects
Status: To Triage
Development

Successfully merging this pull request may close these issues.

1 participant