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 passthrough filter parameters #8472

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 ring passthrough 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 ring_passthrough_filter.launch.xml

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: vividf <yihsiang.fang@tier4.jp>
@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:

Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
@vividf vividf self-assigned this Aug 14, 2024
@vividf vividf marked this pull request as ready for review August 15, 2024 02:15
@vividf vividf added the tag: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 tag: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 5 lines in your changes missing coverage. Please review.

Project coverage is 25.21%. Comparing base (67265bb) to head (2f7e9da).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...sthrough_filter/passthrough_filter_uint16_node.cpp 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8472      +/-   ##
==========================================
- Coverage   25.23%   25.21%   -0.02%     
==========================================
  Files        1325     1330       +5     
  Lines       98572    98715     +143     
  Branches    38088    38148      +60     
==========================================
+ Hits        24874    24893      +19     
- Misses      71156    71272     +116     
- Partials     2542     2550       +8     
Flag Coverage Δ *Carryforward flag
differential 18.50% <0.00%> (?)
total 25.23% <ø> (+<0.01%) ⬆️ Carriedforward from 67265bb

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

@amadeuszsz amadeuszsz self-requested a review August 20, 2024 00:28
Copy link
Contributor

@amadeuszsz amadeuszsz left a comment

Choose a reason for hiding this comment

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

Your schema file is not processed because none of config files match:

No configuration files found for schema sensing/autoware_pointcloud_preprocessor/schema/passthrough_filter_uint16_node.schema.json.

FYI, CI takes schema file name without suffix and compare it with all config files in ../config/ directory with name <schema_file_name>*.param.yaml. You could change schema or config name (may affect other packages).

vividf and others added 3 commits August 20, 2024 18:23
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
@vividf vividf requested a review from amadeuszsz August 20, 2024 09:27
@vividf
Copy link
Contributor Author

vividf commented Aug 20, 2024

@amadeuszsz
Thanks for the check!
Fixed in d7f4329

Copy link
Contributor

@amadeuszsz amadeuszsz 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
Copy link
Contributor Author

vividf commented Sep 3, 2024

@badai-nguyen @knzo25 @drwnz This PR needs a maintainer to approve it, thanks!

Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: vividf <yihsiang.fang@tier4.jp>
@vividf vividf requested a review from knzo25 September 4, 2024 02:27
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) September 9, 2024 02:43
@vividf vividf merged commit 60f9829 into autowarefoundation:main Sep 9, 2024
32 checks passed
emuemuJP pushed a commit to arayabrain/autoware.universe.origin that referenced this pull request Sep 10, 2024
…ilter parameters (autowarefoundation#8472)

* feat: rework ring passthrough parameters

Signed-off-by: vividf <yihsiang.fang@tier4.jp>

* chore: fix cmake

Signed-off-by: vividf <yihsiang.fang@tier4.jp>

* feat: add schema

Signed-off-by: vividf <yihsiang.fang@tier4.jp>

* chore: fix readme

Signed-off-by: vividf <yihsiang.fang@tier4.jp>

* chore: fix parameter file name

Signed-off-by: vividf <yihsiang.fang@tier4.jp>

* chore: add boundary

Signed-off-by: vividf <yihsiang.fang@tier4.jp>

* chore: fix default parameter

Signed-off-by: vividf <yihsiang.fang@tier4.jp>

* chore: fix default parameter in schema

Signed-off-by: vividf <yihsiang.fang@tier4.jp>

---------

Signed-off-by: vividf <yihsiang.fang@tier4.jp>
Signed-off-by: emuemuJP <k.matsumoto.0807@gmail.com>
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
Development

Successfully merging this pull request may close these issues.

4 participants