-
Notifications
You must be signed in to change notification settings - Fork 630
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(autoware_pointcloud_preprocessor): rework ring outlier filter parameters #8468
base: main
Are you sure you want to change the base?
refactor(autoware_pointcloud_preprocessor): rework ring outlier filter parameters #8468
Conversation
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Thank you for contributing to the Autoware project! 🚧 If your pull request is in progress, switch it to draft mode. Please ensure:
|
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #8468 +/- ##
==========================================
- Coverage 27.98% 24.16% -3.83%
==========================================
Files 1319 1416 +97
Lines 98732 103181 +4449
Branches 39794 39518 -276
==========================================
- Hits 27631 24930 -2701
- Misses 71052 75868 +4816
- Partials 49 2383 +2334
*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.
Left some comments (please check those that apply to the other PRs in this series of parameter related PRs)
sensing/autoware_pointcloud_preprocessor/config/filter.param.yaml
Outdated
Show resolved
Hide resolved
sensing/autoware_pointcloud_preprocessor/schema/ring_outlier_filter_node.schema.json
Outdated
Show resolved
Hide resolved
sensing/autoware_pointcloud_preprocessor/src/outlier_filter/ring_outlier_filter_node.cpp
Outdated
Show resolved
Hide resolved
sensing/autoware_pointcloud_preprocessor/src/outlier_filter/ring_outlier_filter_node.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Note: need to merge together with the PR autowarefoundation/sample_sensor_kit_launch#103 |
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
@vividf Could you also update the parameters for RingOutlierFilterComponent in aip_launcher |
@badai-nguyen Sure, I will update it as well. |
sensing/autoware_pointcloud_preprocessor/schema/ring_outlier_filter_node.schema.json
Show resolved
Hide resolved
@vividf |
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
"description": "The right limit of azimuth for visibility score calculation", | ||
"default": "360.0", | ||
"minimum": 0, | ||
"maximum": 360 |
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.
I do not how schema handles this, but ROS2 is quite squeamish about how it parses ints and floats differently.
-> 360.0
Also, some numbers are between commas and other not. Which is the correct version? Make it consistent
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.
@knzo25 Thanks for the review. For the default value, from Amadeusz's suggestion, assigning the default values as strings will pass the number precisely.
Minimum and maximum values do not accept commas
. Also, from the website examples and by testing local, 360 and 360.0 are the same (as they are just checking for the boundary but not related to ros2 parsing?)
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.
See the previous comment. Just checked and this applies in several places of this PR. Check other PRs and also the ones of this series that you already merged
Description
Description
This PR includes the following changes
nodelet
tonode
.A big thank you to @Ariiees for the PRs (#8297 and #7422), where we worked together on the entire pointcloud preprocessor parameters, launch file, and schema.
Note that the schema for filter.param.yaml will be implemented in another PR.
Related links
Parent Issue:
How was this PR tested?
ros2 launch autoware_pointcloud_preprocessor ring_outlier_filter_node.launch.xml
Notes for reviewers
Need to merge together with
tier4/aip_launcher#305
autowarefoundation/sample_sensor_kit_launch#103
Interface changes
None.
Effects on system behavior
None.