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(pointcloud_preprocessor): prefix package and namespace with autoware #7983

Conversation

amadeuszsz
Copy link
Contributor

@amadeuszsz amadeuszsz commented Jul 11, 2024

Description

Most of packages applies pointcloud_preprocessor plugin, therefore splitting PR for namespace and package prefix won't help with omitting breaking change.

Related links

Parent Issue:

Related PRs:

How was this PR tested?

Planning simulator & logging simulator

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:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) component:control Vehicle control algorithms and mechanisms. (auto-assigned) type:ci Continuous Integration (CI) processes and testing. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) labels Jul 11, 2024
Copy link

github-actions bot commented Jul 11, 2024

Thank you for contributing to the Autoware project!

🚧 If your pull request is in progress, switch it to draft mode.

Please ensure:

@amadeuszsz amadeuszsz changed the title refactor(pointcloud_preprocessor)!: prefix package and namespace with autoware refactor(pointcloud_preprocessor): prefix package and namespace with autoware Jul 11, 2024
@amadeuszsz amadeuszsz added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jul 12, 2024
Copy link

codecov bot commented Jul 12, 2024

Codecov Report

Attention: Patch coverage is 77.27273% with 10 lines in your changes missing coverage. Please review.

Project coverage is 28.63%. Comparing base (c4d75b3) to head (3e0099a).
Report is 9 commits behind head on main.

Files Patch % Lines
...ng/autoware_pointcloud_preprocessor/src/filter.cpp 53.84% 6 Missing ⚠️
...eprocessor/src/polygon_remover/polygon_remover.cpp 33.33% 2 Missing ⚠️
...ector_map_filter/vector_map_inside_area_filter.cpp 33.33% 2 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #7983      +/-   ##
==========================================
- Coverage   29.11%   28.63%   -0.49%     
==========================================
  Files        1610     1659      +49     
  Lines      118127   121155    +3028     
  Branches    50852    52376    +1524     
==========================================
+ Hits        34396    34694     +298     
- Misses      74564    77291    +2727     
- Partials     9167     9170       +3     
Flag Coverage Δ *Carryforward flag
differential 12.21% <77.27%> (?)
total 28.89% <ø> (-0.23%) ⬇️ Carriedforward from da811d1

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

@amadeuszsz Could not leave a message, but src/autoware/universe/sensing/autoware_pointcloud_preprocessor/launch/preprocessor.launch.xml seems to be missing a prefix

34c2e48

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 🎉

@amadeuszsz
Copy link
Contributor Author

amadeuszsz commented Jul 16, 2024

Friendly ping for package maintainers:

  • @tkimura4 - control/autoware_autonomous_emergency_braking, launch/tier4_planning_launch
  • @SakodaShintaro - launch/tier4_localization_launch

Copy link
Contributor

@tkimura4 tkimura4 left a comment

Choose a reason for hiding this comment

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

LGTM

@SakodaShintaro
Copy link
Contributor

@amadeuszsz
Thank you very much. LGTM for launch/tier4_localization_launch

This is outside the scope of my review, but I have one comment.
According to the documentation, the recommended directory structure is autoware_{name}/include/autoware/{name}, but in this pull request, it seems to be autoware_pointcloud_preprocessor/include/autoware_pointcloud_preprocessor. Is this intentional?

@amadeuszsz
Copy link
Contributor Author

@amadeuszsz Thank you very much. LGTM for launch/tier4_localization_launch

This is outside the scope of my review, but I have one comment. According to the documentation, the recommended directory structure is autoware_{name}/include/autoware/{name}, but in this pull request, it seems to be autoware_pointcloud_preprocessor/include/autoware_pointcloud_preprocessor. Is this intentional?

@SakodaShintaro thanks four your review and comment.
I've seen other PRs which were accepted under same directory structure convention (e.g. #7892), thus I assumed there is no difference.
@technolojin could you please share your opinion here? If it's needed to follow autoware_{name}/include/autoware/{name} convention, I will do necessary changes.

@amadeuszsz amadeuszsz requested a review from technolojin as a code owner July 19, 2024 05:13
@amadeuszsz
Copy link
Contributor Author

@knzo25 @SakodaShintaro
I did changes with reference to directory structure. Renaming will make commits non-trackable, therefore I did two commits:

  • soft - code changes
  • hard - only changed directory structure from include/autoware_pointcloud_preprocessor to include/autoware/pointcloud_preprocessor

@amadeuszsz
Copy link
Contributor Author

@YoshiRi @badai-nguyen may I ask you for review remaining packages?

  • @YoshiRi - launch/tier4_perception_launch, perception/ground_segmentation, perception/occupancy_grid_map_outlier_filter, perception/probabilistic_occupancy_grid_map
  • @badai-nguyen - perception/compare_map_segmentation, perception/euclidean_cluster, perception/ground_segmentation

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 regarding ground_segmentation, compare_map_segmentation, euclidean_cluster

@technolojin
Copy link
Contributor

@amadeuszsz

@technolojin could you please share your opinion here? If it's needed to follow autoware_{name}/include/autoware/{name} convention, I will do necessary changes.

I am sorry for late response. It looks already done right.

Copy link
Contributor

@technolojin technolojin left a comment

Choose a reason for hiding this comment

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

In terms of tier4_perception_launch, LGTM

Copy link
Contributor

@YoshiRi YoshiRi left a comment

Choose a reason for hiding this comment

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

LGTM

@technolojin technolojin merged commit 9bb228f into autowarefoundation:main Jul 22, 2024
27 of 30 checks passed
chihungtzeng pushed a commit to chihungtzeng/autoware.universe that referenced this pull request Jul 23, 2024
…autoware (autowarefoundation#7983)

* refactor(pointcloud_preprocessor)!: prefix package and namespace with autoware

Signed-off-by: Amadeusz Szymko <[email protected]>

* style(pre-commit): autofix

* style(pointcloud_preprocessor): suppress line length check for macros

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* refactor(pointcloud_preprocessor): directory structure (soft)

Signed-off-by: Amadeusz Szymko <[email protected]>

* refactor(pointcloud_preprocessor): directory structure (hard)

Signed-off-by: Amadeusz Szymko <[email protected]>

---------

Signed-off-by: Amadeusz Szymko <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Jul 23, 2024
…autoware (autowarefoundation#7983)

* refactor(pointcloud_preprocessor)!: prefix package and namespace with autoware

Signed-off-by: Amadeusz Szymko <[email protected]>

* style(pre-commit): autofix

* style(pointcloud_preprocessor): suppress line length check for macros

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* refactor(pointcloud_preprocessor): directory structure (soft)

Signed-off-by: Amadeusz Szymko <[email protected]>

* refactor(pointcloud_preprocessor): directory structure (hard)

Signed-off-by: Amadeusz Szymko <[email protected]>

---------

Signed-off-by: Amadeusz Szymko <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>
esteve pushed a commit to esteve/autoware.universe that referenced this pull request Aug 13, 2024
…autoware (autowarefoundation#7983)

* refactor(pointcloud_preprocessor)!: prefix package and namespace with autoware

Signed-off-by: Amadeusz Szymko <[email protected]>

* style(pre-commit): autofix

* style(pointcloud_preprocessor): suppress line length check for macros

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* fix(pointcloud_preprocessor): missing prefix

Signed-off-by: Amadeusz Szymko <[email protected]>

* refactor(pointcloud_preprocessor): directory structure (soft)

Signed-off-by: Amadeusz Szymko <[email protected]>

* refactor(pointcloud_preprocessor): directory structure (hard)

Signed-off-by: Amadeusz Szymko <[email protected]>

---------

Signed-off-by: Amadeusz Szymko <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:control Vehicle control algorithms and mechanisms. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) component:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:ci Continuous Integration (CI) processes and testing. (auto-assigned) type:documentation Creating or refining documentation. (auto-assigned)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

7 participants