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(ndt_scan_matcher): change from TP to NVTL for determination of initial position estimation results #7141

Conversation

RyuYamamoto
Copy link
Contributor

@RyuYamamoto RyuYamamoto commented May 27, 2024

Description

Changed the score used to determine the maximum likelihood particle during initial position estimation within ndt_scan_matcher from TP to NVTL.

Tests performed

Run logging_simulator with sample rosbag to check that initial pose estimation is successful and works without problems.

Effects on system behavior

Not applicable.

Interface changes

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.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

Sorry, something went wrong.

@github-actions github-actions bot added the component:localization Vehicle's position determination in its environment. (auto-assigned) label May 27, 2024
Signed-off-by: RyuYamamoto <ryu.yamamoto@tier4.jp>
@RyuYamamoto RyuYamamoto force-pushed the feat/use_nvtl_pose_initialization branch from 848667d to 4f40bd3 Compare May 28, 2024 03:30
Signed-off-by: RyuYamamoto <ryu.yamamoto@tier4.jp>

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
@SakodaShintaro SakodaShintaro added tag:run-clang-tidy-differential run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) labels Jun 10, 2024
Copy link
Contributor

@SakodaShintaro SakodaShintaro left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Since it is desirable to use the same threshold criteria as when NDT is run every frame, this change seems fine.

It may be better to switch by referring to converged_param_type.
https://github.com/autowarefoundation/autoware.universe/blob/350e65040ea0b46024ea6c974bf7ec1b72cb27aa/localization/ndt_scan_matcher/config/ndt_scan_matcher.param.yaml#L71

I would like to know what the success rate of initial pose estimation is for a variety of data, but I don't think the tools are ready in time. I think this is a future work.

Verified

This commit was created on GitHub.com and signed with GitHub’s verified signature.
Copy link

codecov bot commented Jun 19, 2024

Codecov Report

Attention: Patch coverage is 83.33333% with 1 line in your changes missing coverage. Please review.

Project coverage is 23.51%. Comparing base (507e3f4) to head (2a82718).
Report is 53 commits behind head on main.

Files Patch % Lines
...ion/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp 83.33% 1 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff             @@
##             main    #7141       +/-   ##
===========================================
+ Coverage   14.84%   23.51%    +8.67%     
===========================================
  Files        1999       54     -1945     
  Lines      139163     3074   -136089     
  Branches    43716      734    -42982     
===========================================
- Hits        20661      723    -19938     
+ Misses      95731     2290    -93441     
+ Partials    22771       61    -22710     
Flag Coverage Δ
differential 23.51% <83.33%> (?)
total ?

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@RyuYamamoto RyuYamamoto merged commit a443210 into autowarefoundation:main Jun 19, 2024
28 of 30 checks passed
@RyuYamamoto RyuYamamoto deleted the feat/use_nvtl_pose_initialization branch June 19, 2024 06:03
simon-eisenmann-driveblocks pushed a commit to simon-eisenmann-driveblocks/autoware.universe that referenced this pull request Jun 26, 2024
…nitial position estimation results (autowarefoundation#7141)

* feat(ndt_scan_matcher): change from TP to NVTL

Signed-off-by: RyuYamamoto <ryu.yamamoto@tier4.jp>

* fix(ndt_scan_matcher): fixed typo

Signed-off-by: RyuYamamoto <ryu.yamamoto@tier4.jp>

---------

Signed-off-by: RyuYamamoto <ryu.yamamoto@tier4.jp>
Signed-off-by: Simon Eisenmann <simon.eisenmann@driveblocks.ai>
KhalilSelyan pushed a commit that referenced this pull request Jul 22, 2024
…nitial position estimation results (#7141)

* feat(ndt_scan_matcher): change from TP to NVTL

Signed-off-by: RyuYamamoto <ryu.yamamoto@tier4.jp>

* fix(ndt_scan_matcher): fixed typo

Signed-off-by: RyuYamamoto <ryu.yamamoto@tier4.jp>

---------

Signed-off-by: RyuYamamoto <ryu.yamamoto@tier4.jp>
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) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants