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 concatenate_pointcloud and time_synchronizer_node parameters #8509

Conversation

vividf
Copy link
Contributor

@vividf vividf commented Aug 16, 2024

Description

This PR includes the following changes

  1. Remove the default parameters for the time synchronizer node and concatenate pointcloud.
  2. Add parameter, launch file, and parameters schema for the nodes.
  3. Change the name nodelet to node.

Note that I didn't update the readme since after this PR #8300 the readme file will change a lot (parameters are different).
I will update the readme in this PR #8300

Related links

Parent Issue:

  • Link

How was this PR tested?

ros2 launch autoware_pointcloud_preprocessor concatenate_pointcloud.launch.xml
and
ros2 launch autoware_pointcloud_preprocessor time_synchronizer_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 16, 2024
Copy link

github-actions bot commented Aug 16, 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]>
Signed-off-by: vividf <[email protected]>
@vividf vividf marked this pull request as ready for review August 16, 2024 10:13
@vividf vividf self-assigned this Aug 16, 2024
@vividf vividf added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Aug 16, 2024
Copy link

codecov bot commented Aug 16, 2024

Codecov Report

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

Project coverage is 23.81%. Comparing base (a7db560) to head (f11dce8).
Report is 7 commits behind head on main.

Files Patch % Lines
...r/src/time_synchronizer/time_synchronizer_node.cpp 0.00% 7 Missing ⚠️
...r/src/concatenate_data/concatenate_pointclouds.cpp 0.00% 5 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8509      +/-   ##
==========================================
- Coverage   23.96%   23.81%   -0.15%     
==========================================
  Files        1382     1388       +6     
  Lines      102019   101936      -83     
  Branches    38886    38860      -26     
==========================================
- Hits        24446    24281     -165     
- Misses      75141    75178      +37     
- Partials     2432     2477      +45     
Flag Coverage Δ *Carryforward flag
differential 19.08% <0.00%> (?)
total 24.00% <ø> (+0.04%) ⬆️ Carriedforward from 6381695

*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 04:48
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.

Apart of comments, please consider adding boundaries for all integer / numeric parameters.

"properties": {
"timeout_sec": {
"type": "number",
"default": 0.1,
Copy link
Contributor

Choose a reason for hiding this comment

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

Assign default values as string

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! fixed them in 08ec218

},
"max_queue_size": {
"type": "integer",
"default": 5,
Copy link
Contributor

Choose a reason for hiding this comment

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

Assign default values as string

"properties": {
"timeout_sec": {
"type": "number",
"default": 0.033,
Copy link
Contributor

Choose a reason for hiding this comment

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

Assign default values as string

},
"max_queue_size": {
"type": "integer",
"default": 5,
Copy link
Contributor

Choose a reason for hiding this comment

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

Assign default values as string

@vividf vividf requested a review from amadeuszsz August 20, 2024 06:51
vividf and others added 3 commits August 20, 2024 15:51
Signed-off-by: vividf <[email protected]>
…onizer_parameter' of github.com:vividf/autoware.universe into refactor/rework_concatenate_pointclouds_and_time_synchronizer_parameter
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 vividf enabled auto-merge (squash) August 22, 2024 05:58
@vividf vividf merged commit 9819971 into autowarefoundation:main Aug 22, 2024
25 checks passed
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Aug 27, 2024
…loud and time_synchronizer_node parameters (autowarefoundation#8509)

* feat: rewort concatenate pointclouds and time synchronizer parameter

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

* chore: fix launch files

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

* chore: fix schema

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

* chore: fix schema

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

* chore: fix integer and number default value in schema

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

* chore: add boundary

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

---------

Signed-off-by: vividf <[email protected]>
a-maumau pushed a commit to a-maumau/autoware.universe that referenced this pull request Sep 2, 2024
…loud and time_synchronizer_node parameters (autowarefoundation#8509)

* feat: rewort concatenate pointclouds and time synchronizer parameter

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

* chore: fix launch files

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

* chore: fix schema

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

* chore: fix schema

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

* chore: fix integer and number default value in schema

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

* chore: add boundary

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

---------

Signed-off-by: vividf <[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:require-cuda-build-and-test tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants