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 filter parameters #8469

Open
wants to merge 10 commits into
base: main
Choose a base branch
from

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 filter class.
  2. Add parameter, and parameters schema for the class.

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?

Notes for reviewers

None.

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 marked this pull request as ready for review August 14, 2024 15:49
@vividf vividf self-assigned this Aug 14, 2024
@vividf vividf added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 14, 2024
Signed-off-by: vividf <[email protected]>
@vividf vividf added the tag:deploy-docs Mark for deploy-docs action generation. (used-by-ci) label Aug 15, 2024
max_queue_size_ = static_cast<std::size_t>(declare_parameter("max_queue_size", 5));
tf_input_frame_ = declare_parameter<std::string>("input_frame");
tf_output_frame_ = declare_parameter<std::string>("output_frame");
max_queue_size_ = declare_parameter<int64_t>("max_queue_size");
Copy link
Contributor

Choose a reason for hiding this comment

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

Same as other PRs. Implicit cast -> static cast
There are initializations in the header that are only noise given how parameters are loaded. Since we are workin on this now, could you delete those?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Thanks!
static cast: c338a59

remove init value: 9819fb6

@vividf
Copy link
Contributor Author

vividf commented Aug 29, 2024

Note that this PR needs to be merged together with PR autowarefoundation/sample_sensor_kit_launch#104 in the common_sensor _launch

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
Status: Backlog
Development

Successfully merging this pull request may close these issues.

2 participants