-
Notifications
You must be signed in to change notification settings - Fork 672
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(compare_map_segmentation): add dynamic map loading for voxel_based_compare_map_filter #3087
feat(compare_map_segmentation): add dynamic map loading for voxel_based_compare_map_filter #3087
Conversation
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #3087 +/- ##
==========================================
- Coverage 11.78% 11.76% -0.03%
==========================================
Files 1324 1327 +3
Lines 92855 93074 +219
Branches 25011 25011
==========================================
Hits 10946 10946
- Misses 70434 70653 +219
Partials 11475 11475
*This pull request uses carry forward flags. Click here to find out more.
... and 1 file with indirect coverage changes 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 in Codecov by Sentry. |
3ff3871
to
c854759
Compare
c854759
to
b8cb39d
Compare
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
b8cb39d
to
9a12c8a
Compare
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
perception/compare_map_segmentation/src/voxel_grid_map_loader.cpp
Outdated
Show resolved
Hide resolved
perception/compare_map_segmentation/include/compare_map_segmentation/voxel_grid_map_loader.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
perception/compare_map_segmentation/include/compare_map_segmentation/voxel_grid_map_loader.hpp
Outdated
Show resolved
Hide resolved
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
fbdb896
to
a57d707
Compare
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
a57d707
to
9c6b6a9
Compare
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
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
Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
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
…ed_compare_map_filter (autowarefoundation#3087) * feat: add interface to dynamic loader Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * docs: update readme Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: add default param and todo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: remove unnecessary neighbor voxels calculation Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: add neighbor map_cell checking Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: neighbor map grid check Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> --------- Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
…ed_compare_map_filter (autowarefoundation#3087) * feat: add interface to dynamic loader Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * docs: update readme Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: add default param and todo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: remove unnecessary neighbor voxels calculation Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: add neighbor map_cell checking Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: neighbor map grid check Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> --------- Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> Signed-off-by: Yusuke Mizoguchi <sky.y.m.318@gmail.com>
…ed_compare_map_filter (autowarefoundation#3087) * feat: add interface to dynamic loader Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * docs: update readme Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: add default param and todo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: remove unnecessary neighbor voxels calculation Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: add neighbor map_cell checking Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: neighbor map grid check Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> --------- Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
* ci: refactor workflows Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * fixup Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
…ation#3087 (autowarefoundation#3092) * ci: refactor workflows to be OS/distro independent like autowarefoundation#3087 Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * add needs Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> * add outputs Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp> Signed-off-by: Kenji Miyake <kenji.miyake@tier4.jp>
…ed_compare_map_filter (autowarefoundation#3087) * feat: add interface to dynamic loader Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * docs: update readme Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: add default param and todo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: remove unnecessary neighbor voxels calculation Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: add neighbor map_cell checking Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: neighbor map grid check Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> --------- Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
…ed_compare_map_filter (autowarefoundation#3087) * feat: add interface to dynamic loader Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * docs: update readme Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: add default param and todo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: remove unnecessary neighbor voxels calculation Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: add neighbor map_cell checking Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: neighbor map grid check Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> --------- Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
…ed_compare_map_filter (autowarefoundation#3087) * feat: add interface to dynamic loader Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * refactor: refactoring Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * docs: update readme Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: add default param and todo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * chore: typo Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: remove unnecessary neighbor voxels calculation Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: add neighbor map_cell checking Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> * fix: neighbor map grid check Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp> --------- Signed-off-by: badai-nguyen <dai.nguyen@tier4.jp>
@badai-nguyen I can see from your code that
|
@veqcc Thank you a lot for your pointing out my mistake. |
Description
This PR to solve this issue 3085 for voxel_based_compare_map_filter nodelete.
The PR utilize the dynamic map loading interface to update current utilize pointcloud map cells.
Related links
TIERIV COMPANY INTERNAL LINK
autowarefoundation/autoware_launch#257
Tests performed
I tested on sample rosbag from Autoware tutorial using split map here: sample-map-rosbag_split.zip
use_dynamic_map_loading
is set asfalse
use_dynamic_map_loading
is set astrue
: the performance is almost the same with current Autoware, with very small degradation. The reason is:。This PR storing voxel grid information of each current surrounding map cells + map cell position and size. However, the precise map cell region and position still cannot receive from map loader interface yet. It is still discussed here: https://github.com/orgs/autowarefoundation/discussions/3328. So map cell position and region are calculate by searching max and min pointcloud.
。So some input poincloud located between calculated map cell region will be passed through filter. However, this issue occurrs mostly around map cells with sparse pointcloud which far from lanelet and which should not have significant effect to the vehicle behavior.
This will be fixed after map loader interface is updated.
Current Autoware result:
rviz pc rendering, pink:filter output
Poincloud number:
red: filter input, blue: filter output
Updated Autoware:
rviz pc rendering, pink:filter output
Poincloud number:
red: filter input, blue: filter output
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.