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): move roi_mode_map_ definition inside DualReturnOutlierFilterComponent class #6654

Conversation

kyoichi-sugahara
Copy link
Contributor

Description

This pull request encapsulates the roi_mode_map_ within the DualReturnOutlierFilterComponent class to improve the organization of the code and its maintainability.
Previously, roi_mode_map_ was defined in the global namespace, which could potentially lead to naming conflicts.

Tests performed

Not applicable.

Effects on system behavior

Not applicable.

Pre-review checklist for the PR author

The PR author must check the checkboxes below when creating the PR.

In-review checklist for the PR reviewers

The PR reviewers must check the checkboxes below before approval.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.

After all checkboxes are checked, anyone who has write access can merge the PR.

… class

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
@github-actions github-actions bot added the component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) label Mar 19, 2024
@kyoichi-sugahara
Copy link
Contributor Author

@badai-nguyen
can you revew this refactor PR?

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.

Thanks for your PR. LGTM!

@kyoichi-sugahara kyoichi-sugahara added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Mar 20, 2024
Copy link

codecov bot commented Mar 20, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 14.78%. Comparing base (1ca97cf) to head (c5ab284).
Report is 2 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff           @@
##             main    #6654   +/-   ##
=======================================
  Coverage   14.78%   14.78%           
=======================================
  Files        1925     1925           
  Lines      132699   132699           
  Branches    39515    39515           
=======================================
  Hits        19625    19625           
  Misses      91101    91101           
  Partials    21973    21973           
Flag Coverage Δ *Carryforward flag
differential 5.46% <ø> (?)
total 14.78% <ø> (ø) Carriedforward from 1ca97cf

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

@kyoichi-sugahara kyoichi-sugahara merged commit a8364b4 into autowarefoundation:main Mar 20, 2024
37 of 39 checks passed
@kyoichi-sugahara kyoichi-sugahara deleted the refactor/dual_return_outlier_filter branch March 20, 2024 15:47
kaigohirao pushed a commit to kaigohirao/autoware.universe that referenced this pull request Mar 22, 2024
…de DualReturnOutlierFilterComponent class (autowarefoundation#6654)

move roi_mode_map_ definition inside DualReturnOutlierFilterComponent class

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
Signed-off-by: kaigohirao <kaigo.hirao@proxima-ai-tech.com>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
…de DualReturnOutlierFilterComponent class (autowarefoundation#6654)

move roi_mode_map_ definition inside DualReturnOutlierFilterComponent class

Signed-off-by: kyoichi-sugahara <kyoichi.sugahara@tier4.jp>
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) 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.

2 participants