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 crop box parameters #8466

Merged

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 crop box 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 crop_box_filter_node.launch.xml

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

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:

@github-actions github-actions bot added the component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) label Aug 14, 2024
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 self-assigned this Aug 14, 2024
@vividf vividf added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 14, 2024
@vividf vividf changed the title refactor(autoware_pointcloud_preprocessor): rework crop box paramter refactor(autoware_pointcloud_preprocessor): rework crop box parameters Aug 14, 2024
Copy link

codecov bot commented Aug 14, 2024

Codecov Report

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

Project coverage is 23.87%. Comparing base (92868c0) to head (eb347bc).
Report is 9 commits behind head on main.

Files with missing lines Patch % Lines
...essor/src/crop_box_filter/crop_box_filter_node.cpp 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8466      +/-   ##
==========================================
- Coverage   27.50%   23.87%   -3.64%     
==========================================
  Files        1303     1442     +139     
  Lines      101046   104080    +3034     
  Branches    39180    40075     +895     
==========================================
- Hits        27794    24847    -2947     
- Misses      70544    76674    +6130     
+ Partials     2708     2559     -149     
Flag Coverage Δ *Carryforward flag
differential 20.89% <0.00%> (?)
total 23.89% <ø> (-3.62%) ⬇️ Carriedforward from 9d10076

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

@vividf vividf marked this pull request as ready for review August 14, 2024 15:41
@vividf vividf added the run:deploy-docs Mark for deploy-docs action generation. (used-by-ci) label Aug 15, 2024
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.

Should filter.param.yaml be in this PR?

@vividf
Copy link
Contributor Author

vividf commented Aug 20, 2024

@knzo25 It is not needed in this PR, I put it here just because when the launch file launch without having the filter.param.yaml file, it will show a warning message. (but it will not cause any issue since the filter.cpp has the default parameter, and that's why I remove the filter.param.yaml in other PRs). I will also remove this one. Thanks!

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

vividf commented Sep 3, 2024

@knzo25 kindly ping

@vividf
Copy link
Contributor Author

vividf commented Sep 5, 2024

@badai-nguyen @knzo25 @drwnz

Copy link
Contributor

@badai-nguyen badai-nguyen left a comment

Choose a reason for hiding this comment

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

@vividf Please add missing parameter (negative: false) for this since crop_box_filter also used in euclidean_cluster pipeline.
I created PR for neccessary modification in autoware_launch and please wait until it is merged.

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.

Documentation related comments

@github-actions github-actions bot added the component:perception Advanced sensor data processing and environment understanding. (auto-assigned) label Sep 9, 2024
@vividf
Copy link
Contributor Author

vividf commented Sep 9, 2024

@badai-nguyen thanks for the check, added in add0cb7

@vividf vividf requested a review from knzo25 October 2, 2024 07:58
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
Copy link
Contributor Author

vividf commented Oct 8, 2024

@badai-nguyen kindly ping

Copy link
Contributor

@badai-nguyen badai-nguyen 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 64e5a8b into autowarefoundation:main Oct 21, 2024
32 checks passed
@vividf vividf deleted the refactor/rework_crop_box_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:perception Advanced sensor data processing and environment understanding. (auto-assigned) 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