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 ring outlier filter parameters #8468

Merged

Conversation

vividf
Copy link
Contributor

@vividf vividf commented Aug 14, 2024

Description

Description

This PR includes the following changes

  1. Remove the default parameters for the ring 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.

Note that the schema for filter.param.yaml will be implemented in another PR.

Related links

Parent Issue:

  • Link

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.

@github-actions github-actions bot added type:documentation Creating or refining documentation. (auto-assigned) component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) labels 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:

@vividf vividf self-assigned this Aug 14, 2024
@vividf vividf marked this pull request as ready for review August 14, 2024 15:45
@vividf vividf added tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) tag:deploy-docs Mark for deploy-docs action generation. (used-by-ci) labels Aug 14, 2024
Copy link

codecov bot commented Aug 15, 2024

Codecov Report

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

Project coverage is 23.92%. Comparing base (1bf24e4) to head (9b6614c).
Report is 71 commits behind head on main.

Files with missing lines Patch % Lines
...or/src/outlier_filter/ring_outlier_filter_node.cpp 0.00% 12 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8468      +/-   ##
==========================================
- Coverage   27.99%   23.92%   -4.07%     
==========================================
  Files        1319     1416      +97     
  Lines       98732   103181    +4449     
  Branches    39798    39518     -280     
==========================================
- Hits        27637    24683    -2954     
- Misses      70972    75868    +4896     
- Partials      123     2630    +2507     
Flag Coverage Δ *Carryforward flag
differential 19.11% <0.00%> (?)
total 24.12% <ø> (-3.87%) ⬇️ Carriedforward from 1a1ecf9

*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.

Left some comments (please check those that apply to the other PRs in this series of parameter related PRs)

@vividf vividf requested a review from knzo25 August 20, 2024 09:59
@vividf
Copy link
Contributor Author

vividf commented Aug 27, 2024

Note: need to merge together with the PR autowarefoundation/sample_sensor_kit_launch#103

@badai-nguyen
Copy link
Contributor

@vividf Could you also update the parameters for RingOutlierFilterComponent in aip_launcher

@vividf
Copy link
Contributor Author

vividf commented Aug 30, 2024

@badai-nguyen Sure, I will update it as well.

@knzo25
Copy link
Contributor

knzo25 commented Sep 6, 2024

@vividf
Remember to paste links of related PRs (like the one dai-san asked you). It is important to keep track as just pasting the link adds an event in the timeline of both PRs

@vividf
Copy link
Contributor Author

vividf commented Sep 10, 2024

@vividf vividf requested a review from knzo25 September 10, 2024 01:43
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.

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

@vividf vividf requested a review from knzo25 September 30, 2024 07:10
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 merged commit 1d4e949 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 parameters (autowarefoundation#8468)

* feat: rework ring outlier parameters

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

* chore: add explicit cast

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

* chore: add boundary

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

* chore: remove filter.param

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

* chore: set default frame

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

* chore: add maximum boundary

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

* chore: boundary to float type

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

---------

Signed-off-by: vividf <[email protected]>
Signed-off-by: prakash-kannaiah <[email protected]>
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) tag:deploy-docs Mark for deploy-docs action generation. (used-by-ci) tag:require-cuda-build-and-test tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants