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

refactor(ndt_scan_matcher): isolate align function into ndt_omp #2199

Conversation

kminoda
Copy link
Contributor

@kminoda kminoda commented Nov 2, 2022

Signed-off-by: kminoda koji.minoda@tier4.jp

Description

I would like to isolate the align function in the current ndt_scan_matcher (and also the NdtResult class) to ndt_omp.

This PR should be merged at the same time as tier4/ndt_omp#16.

(side note: This PR may induce a build error due to the version mismatch between autoware.universe and ndt_omp, only when the newer universe used with the older ndt_omp)

Related links

Tests performed

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

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.
  • The PR is ready for merge.

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

Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
@kminoda kminoda marked this pull request as ready for review November 2, 2022 09:51
@kminoda kminoda self-assigned this Nov 2, 2022
@kminoda kminoda added the component:localization Vehicle's position determination in its environment. (auto-assigned) label Nov 2, 2022
@kminoda kminoda marked this pull request as draft November 4, 2022 01:17
@kminoda
Copy link
Contributor Author

kminoda commented Nov 4, 2022

This PR will be ready for review after tier4/ndt_omp#16 is merged. (The CI test would not pass until then)

Copy link
Contributor

@KYabuuchi KYabuuchi left a comment

Choose a reason for hiding this comment

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

Thanks for your contribution!
I left some comments. Please check them out.

Signed-off-by: kminoda <koji.minoda@tier4.jp>
Signed-off-by: kminoda <koji.minoda@tier4.jp>
@codecov
Copy link

codecov bot commented Nov 4, 2022

Codecov Report

Base: 10.84% // Head: 10.83% // Decreases project coverage by -0.01% ⚠️

Coverage data is based on head (6580214) compared to base (a85f288).
Patch coverage: 0.00% of modified lines in pull request are covered.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #2199      +/-   ##
==========================================
- Coverage   10.84%   10.83%   -0.02%     
==========================================
  Files        1178     1178              
  Lines       84833    84916      +83     
  Branches    19987    19987              
==========================================
  Hits         9204     9204              
- Misses      65894    65977      +83     
  Partials     9735     9735              
Flag Coverage Δ *Carryforward flag
differential 0.00% <0.00%> (?)
total 10.82% <0.00%> (ø) Carriedforward from 717c616

*This pull request uses carry forward flags. Click here to find out more.

Impacted Files Coverage Δ
...include/ndt_scan_matcher/ndt_scan_matcher_core.hpp 0.00% <ø> (ø)
...ion/ndt_scan_matcher/src/ndt_scan_matcher_core.cpp 0.00% <0.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

@kminoda kminoda marked this pull request as ready for review November 4, 2022 06:50
Copy link
Contributor

@KYabuuchi KYabuuchi left a comment

Choose a reason for hiding this comment

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

Your PR is mostly fine 👍 , but I found one small mistake. Please correct it.
When it is resolved I will approve this PR soon.

Signed-off-by: kminoda <koji.minoda@tier4.jp>
@kminoda kminoda merged commit c5e7246 into autowarefoundation:main Nov 7, 2022
@kminoda kminoda deleted the refactor/ndt_scan_matcher/isolate_align_function_into_ndt_omp branch November 30, 2022 00:13
HansRobo pushed a commit to HansRobo/autoware.universe that referenced this pull request Dec 16, 2022
…warefoundation#2199)

* first commit

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* remove align and NdtResults from ndt_scan_matcher

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* rename variable

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* ci(pre-commit): autofix

* use getResult() function instead of executeScanMatching()

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* for (auto...) -> for (const auto &...)

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* removed unnecessary output_cloud declaration

Signed-off-by: kminoda <koji.minoda@tier4.jp>

Signed-off-by: kminoda <koji.minoda@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: Kotaro Yoshimoto <pythagora.yoshimoto@gmail.com>
YoshiRi pushed a commit to YoshiRi/autoware.universe that referenced this pull request Jan 11, 2023
…warefoundation#2199)

* first commit

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* remove align and NdtResults from ndt_scan_matcher

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* rename variable

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* ci(pre-commit): autofix

* use getResult() function instead of executeScanMatching()

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* for (auto...) -> for (const auto &...)

Signed-off-by: kminoda <koji.minoda@tier4.jp>

* removed unnecessary output_cloud declaration

Signed-off-by: kminoda <koji.minoda@tier4.jp>

Signed-off-by: kminoda <koji.minoda@tier4.jp>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Signed-off-by: yoshiri <yoshiyoshidetteiu@gmail.com>
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)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants