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(autoware_pointcloud_preprocessor): rework dual return outlier filter parameters #8475

Conversation

vividf
Copy link
Contributor

@vividf vividf commented Aug 14, 2024

Description

This PR includes the following changes

  1. Remove the default parameters for the dual return outlier filter node.
  2. Add parameter, launch file, and parameters schema for the node.
  3. Change the name nodelet to node.

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.

Related links

Parent Issue:

  • Link

How was this PR tested?

ros2 launch autoware_pointcloud_preprocessor dual_return_outlier_filter_node.launch.xml

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) label Aug 14, 2024
Copy link

github-actions bot commented Aug 14, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

Signed-off-by: vividf <[email protected]>
@github-actions github-actions bot added the type:documentation Creating or refining documentation. (auto-assigned) label Aug 14, 2024
@vividf vividf marked this pull request as ready for review August 15, 2024 02:23
@vividf vividf self-assigned this Aug 15, 2024
@vividf vividf added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 15, 2024
@badai-nguyen badai-nguyen added the run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) label Aug 15, 2024
Copy link

codecov bot commented Aug 15, 2024

Codecov Report

Attention: Patch coverage is 0% with 17 lines in your changes missing coverage. Please review.

Project coverage is 25.39%. Comparing base (6a24683) to head (7be1c2e).
Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
...outlier_filter/dual_return_outlier_filter_node.cpp 0.00% 17 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8475      +/-   ##
==========================================
- Coverage   26.17%   25.39%   -0.79%     
==========================================
  Files        1298     1344      +46     
  Lines       96983    99723    +2740     
  Branches    39182    40343    +1161     
==========================================
- Hits        25385    25320      -65     
- Misses      68992    71761    +2769     
- Partials     2606     2642      +36     
Flag Coverage Δ *Carryforward flag
differential 22.53% <0.00%> (?)
total 25.12% <ø> (-1.06%) ⬇️ Carriedforward from 7e329dc

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

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

Copy link
Contributor

@knzo25 knzo25 left a comment

Choose a reason for hiding this comment

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

Type inconsistencies

Signed-off-by: vividf <[email protected]>
@vividf vividf requested a review from knzo25 August 20, 2024 09:04
@badai-nguyen
Copy link
Contributor

badai-nguyen commented Aug 23, 2024

@vividf
Since this filter is used in a x2 product so this PR should be merged after tier4/aip_launcher#285 merging

@vividf
Copy link
Contributor Author

vividf commented Sep 3, 2024

@knzo25 kindly ping

Copy link
Contributor

@knzo25 knzo25 left a comment

Choose a reason for hiding this comment

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

Please pay attention to the details in your PRs. I seem to be making the same comments over and over

@vividf vividf requested a review from knzo25 September 18, 2024 02:25
@vividf
Copy link
Contributor Author

vividf commented Sep 18, 2024

@knzo25 Thanks for the review 👍 I fixed them!

Copy link
Contributor

@knzo25 knzo25 left a comment

Choose a reason for hiding this comment

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

Once again, please re-read what you submit before requesting a review

@vividf vividf requested a review from knzo25 September 18, 2024 07:52
@knzo25
Copy link
Contributor

knzo25 commented Sep 30, 2024

@vividf
Not for this PR, but there are some things that could be improved in this package at a first glance.
Using the map of modes to integers should be instead to an enum.
Parameters that only apply to a single mode could have a more descriptive name that makes it obvious what you are referring to

Copy link
Contributor

@knzo25 knzo25 left a comment

Choose a reason for hiding this comment

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

Left a comment. Probably after that one we can merge

@vividf vividf requested a review from knzo25 September 30, 2024 06:46
Copy link
Contributor

@knzo25 knzo25 left a comment

Choose a reason for hiding this comment

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

LGTM

@vividf vividf enabled auto-merge (squash) October 1, 2024 11:14
@vividf vividf merged commit 6fccdf5 into autowarefoundation:main Oct 1, 2024
32 checks passed
prakash-kannaiah pushed a commit to prakash-kannaiah/autoware.universe that referenced this pull request Oct 9, 2024
…r filter parameters (autowarefoundation#8475)

* feat: rework dual return outlier filter parameters

Signed-off-by: vividf <[email protected]>

* chore: fix readme

Signed-off-by: vividf <[email protected]>

* chore: change launch file name

Signed-off-by: vividf <[email protected]>

* chore: fix type

Signed-off-by: vividf <[email protected]>

* chore: add boundary

Signed-off-by: vividf <[email protected]>

* chore: change boundary

Signed-off-by: vividf <[email protected]>

* chore: fix boundary

Signed-off-by: vividf <[email protected]>

* chore: fix json schema

Signed-off-by: vividf <[email protected]>

* Update sensing/autoware_pointcloud_preprocessor/schema/dual_return_outlier_filter_node.schema.json

Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>

* chore: fix grammar error

Signed-off-by: vividf <[email protected]>

* chore: fix description for weak_first_local_noise_threshold

Signed-off-by: vividf <[email protected]>

* chore: change minimum and maximum to float

Signed-off-by: vividf <[email protected]>

---------

Signed-off-by: vividf <[email protected]>
Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>
Signed-off-by: prakash-kannaiah <[email protected]>
@vividf vividf deleted the refactor/rework_dual_return_outlier_filter_parameter branch December 26, 2024 02:06
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) tag:require-cuda-build-and-test type:documentation Creating or refining documentation. (auto-assigned)
Projects
No open projects
Development

Successfully merging this pull request may close these issues.

3 participants