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

feat(detection): add container option #6228

Merged

Conversation

kminoda
Copy link
Contributor

@kminoda kminoda commented Jan 30, 2024

Description

Add container option for

  • lidar_centerpoint
  • image_projection_based_fusion/pointpainting
  • euclidean_clustering

image

MUST BE MERGED WITH autowarefoundation/autoware_launch#834

Note that the inf values are replaced with a large value, since it somehow fails with ComposableNode launch

Tests performed

Confirmed that Autoware launches successfully with

  • use_pointcloud_container = true
  • use_pointcloud_container = false

and also verified that the result of ros2 component list is as expected.
For true:
use_pointcloud_container_true.txt
and for false:
use_pointcloud_container_false.txt

Effects on system behavior

When use_pointcloud_container = false, no effects are expected. When use_pointcloud_container = true, internal data communication will be reduced which may results in an efficient system performance.

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.

@github-actions github-actions bot added component:perception Advanced sensor data processing and environment understanding. (auto-assigned) component:launch Launch files, scripts and initialization tools. (auto-assigned) labels Jan 30, 2024
@kminoda kminoda changed the title feat(lidar_centerpoint,image_projection_based_fusion): add container option feat(detection): add container option Jan 30, 2024
@kminoda kminoda added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Jan 30, 2024
Signed-off-by: kminoda <[email protected]>
Signed-off-by: kminoda <[email protected]>
Copy link

codecov bot commented Jan 30, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Comparison is base (2e4b25a) 14.38% compared to head (a7d0626) 14.39%.
Report is 6 commits behind head on main.

Additional details and impacted files
@@           Coverage Diff            @@
##             main    #6228    +/-   ##
========================================
  Coverage   14.38%   14.39%            
========================================
  Files        1906     1906            
  Lines      129910   129808   -102     
  Branches    37616    37527    -89     
========================================
- Hits        18691    18686     -5     
+ Misses      90207    90161    -46     
+ Partials    21012    20961    -51     
Flag Coverage Δ *Carryforward flag
differential 0.00% <ø> (?)
total 14.39% <ø> (+<0.01%) ⬆️ Carriedforward from 0a77e4e

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

Copy link
Contributor

@miursh miursh left a comment

Choose a reason for hiding this comment

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

LGTM

@kminoda
Copy link
Contributor Author

kminoda commented Feb 1, 2024

@yukkysaito @knzo25 Hi, would you review this PR? We need your approval for euclidean_cluster and lidar_centerpoint, respectively.

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 🙇

Copy link
Contributor

@yukkysaito yukkysaito left a comment

Choose a reason for hiding this comment

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

LGTM

@kminoda kminoda merged commit 742f44a into autowarefoundation:main Feb 1, 2024
22 of 24 checks passed
@kminoda kminoda deleted the feat/ml_detection/use_container branch February 1, 2024 08:43
kminoda added a commit to kminoda/autoware.universe that referenced this pull request Feb 1, 2024
* feat(lidar_centerpoint,image_projection_based_fusion): add pointcloud_container option

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

* revert lidar_perception_model

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

* style(pre-commit): autofix

* fix: add options

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

* fix: fix default param

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

* update node name

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

* fix: fix IfCondition

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

* fix pointpainting namespace

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

* fix: fix launch args

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

* fix(euclidean_cluster): do not launch individual container when use_pointcloud_container is true

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

* fix(euclidean_cluster): fix launch condition

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

* fix(euclidean_cluster): fix launch condition

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

* Update perception/lidar_centerpoint/launch/lidar_centerpoint.launch.xml

Co-authored-by: Shunsuke Miura <[email protected]>

---------

Signed-off-by: kminoda <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Shunsuke Miura <[email protected]>
Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>
kminoda added a commit to kminoda/autoware.universe that referenced this pull request Feb 1, 2024
* feat(lidar_centerpoint,image_projection_based_fusion): add pointcloud_container option

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

* revert lidar_perception_model

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

* style(pre-commit): autofix

* fix: add options

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

* fix: fix default param

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

* update node name

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

* fix: fix IfCondition

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

* fix pointpainting namespace

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

* fix: fix launch args

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

* fix(euclidean_cluster): do not launch individual container when use_pointcloud_container is true

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

* fix(euclidean_cluster): fix launch condition

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

* fix(euclidean_cluster): fix launch condition

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

* Update perception/lidar_centerpoint/launch/lidar_centerpoint.launch.xml

Co-authored-by: Shunsuke Miura <[email protected]>

---------

Signed-off-by: kminoda <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Shunsuke Miura <[email protected]>
Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>
kminoda added a commit to tier4/autoware.universe that referenced this pull request Feb 2, 2024
* feat(lidar_centerpoint,image_projection_based_fusion): add pointcloud_container option

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

* revert lidar_perception_model

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

* style(pre-commit): autofix

* fix: add options

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

* fix: fix default param

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

* update node name

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

* fix: fix IfCondition

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

* fix pointpainting namespace

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

* fix: fix launch args

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

* fix(euclidean_cluster): do not launch individual container when use_pointcloud_container is true

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

* fix(euclidean_cluster): fix launch condition

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

* fix(euclidean_cluster): fix launch condition

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

* Update perception/lidar_centerpoint/launch/lidar_centerpoint.launch.xml

Co-authored-by: Shunsuke Miura <[email protected]>

---------

Signed-off-by: kminoda <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Shunsuke Miura <[email protected]>
Co-authored-by: Kenzo Lobos Tsunekawa <[email protected]>
karishma1911 pushed a commit to Interplai/autoware.universe that referenced this pull request Jun 3, 2024
* feat(lidar_centerpoint,image_projection_based_fusion): add pointcloud_container option

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

* revert lidar_perception_model

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

* style(pre-commit): autofix

* fix: add options

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

* fix: fix default param

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

* update node name

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

* fix: fix IfCondition

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

* fix pointpainting namespace

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

* fix: fix launch args

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

* fix(euclidean_cluster): do not launch individual container when use_pointcloud_container is true

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

* fix(euclidean_cluster): fix launch condition

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

* fix(euclidean_cluster): fix launch condition

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

* Update perception/lidar_centerpoint/launch/lidar_centerpoint.launch.xml

Co-authored-by: Shunsuke Miura <[email protected]>

---------

Signed-off-by: kminoda <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Shunsuke Miura <[email protected]>
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:launch Launch files, scripts and initialization tools. (auto-assigned) component:perception Advanced sensor data processing and environment understanding. (auto-assigned) 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.

4 participants