-
Notifications
You must be signed in to change notification settings - Fork 673
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, map_loader): remove map_module #5873
refactor(ndt_scan_matcher, map_loader): remove map_module #5873
Conversation
Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp>
Does this mean that maps without map_config.yaml won't be supported after the removal of map_module? |
@mitsudome-r I believe that as long as map_config.yaml is properly handled in the map loader, differential_map_loading will run normally. Depending on the implementation at the time, it will be easy to support even without map_config.yaml. |
@SakodaShintaro Simply you said, "No." didn't you? |
@Motsu-san |
Assuming that @mitsudome-r's concern was about
This does not change even if we disable the ROS 2 topic based I/F between So, to summarize, a map without |
@mitsudome-r Does Minoda-san's explanation filled your concerns? Or should we provide an evidence(capture movie?) to prove the following?
|
Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp>
related discussion: https://github.com/orgs/autowarefoundation/discussions/4062 |
Actually, input_ekf_odom was erased in the other PR |
localization/ndt_scan_matcher/config/ndt_scan_matcher.param.yaml
Outdated
Show resolved
Hide resolved
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #5873 +/- ##
==========================================
+ Coverage 15.19% 15.33% +0.14%
==========================================
Files 1749 1750 +1
Lines 120942 119937 -1005
Branches 36775 36316 -459
==========================================
+ Hits 18375 18398 +23
+ Misses 81941 80893 -1048
- Partials 20626 20646 +20
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
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.
LGTM
@Motsu-san Thanks. I think @kminoda's explanation answers my concern. |
Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp>
d8767dd
into
autowarefoundation:main
…undation#5873) * Removed use_dynamic_map_loading Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * Removed enable_differential_load option Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Fixed title Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Emphasized lock scope Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed pointcloud_map and input_ekf_odom Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> --------- Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…undation#5873) * Removed use_dynamic_map_loading Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * Removed enable_differential_load option Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Fixed title Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Emphasized lock scope Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed pointcloud_map and input_ekf_odom Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> --------- Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…undation#5873) * Removed use_dynamic_map_loading Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * Removed enable_differential_load option Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Fixed title Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Emphasized lock scope Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed pointcloud_map and input_ekf_odom Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> --------- Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…undation#5873) * Removed use_dynamic_map_loading Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * Removed enable_differential_load option Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> * style(pre-commit): autofix * Fixed title Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Emphasized lock scope Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> * Removed pointcloud_map and input_ekf_odom Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> --------- Signed-off-by: Shintaro SAKODA <shintaro.sakoda@tier4.jp> Signed-off-by: Shintaro Sakoda <shintaro.sakoda@tier4.jp> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Description
This pull request proposes removing map_module. I think this is generally a good change, but I'm open to it being rejected based on discussion.
Context
Currently, there are two modules related to pcd loading in the
ndt_scan_matcher
package:map_module
andmap_update_module
. These can be switched by settinguse_dynamic_map_loading
to true/false in the config. (Only one is used at a time).Functionally,
map_update_module
is upwards compatible, somap_module
is no longer necessary.The
map_update_module
was introduced in pull request #2339 about a year ago. It has been working stably since then, so I believe now is a good time to fully migrate to using it instead ofmap_module
.Changes
Removing
map_module
also requiresenable_differential_load
to always be true in map_loader, so this pull request also includes a fix for that.If this pull request is acceptable, I will also modify autoware_launch to remove the parameters.
Related PR
Tests performed
It has been confirmed that the
logging_simulator
runs with the same accuracy as before on AWSIM data with GT.Effects on system behavior
map_module will no longer be available. As the function is map_update_module, I don't think there will be any impact.
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.