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

fix(perception_utils): install library after build #8501

Merged

Conversation

manato
Copy link
Contributor

@manato manato commented Aug 16, 2024

Description

This PR aims to fix symbol lookup error on a node (autoware_tensorrt_yolox), which uses the dynamic link library generated from perception_util package

Related links

This issue seems happen after merging #8435

Parent Issue:

  • Link

How was this PR tested?

ros2 launch autoware_tensorrt_yolox yolox.launch.xml

And subscribe the result of the yolox by:

ros2 run rqt_image_view rqt_image_view

Notes for reviewers

None.

Interface changes

None.

Effects on system behavior

None.

@github-actions github-actions bot added the component:common Common packages from the autoware-common repository. (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:

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.

@manato thank you for your fixing.
I confirmed that tensorrt_yolox worked after updating by this PR
image

LGTM

@badai-nguyen badai-nguyen 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

All modified and coverable lines are covered by tests ✅

Project coverage is 23.86%. Comparing base (77059a1) to head (cc35253).
Report is 7 commits behind head on main.

Additional details and impacted files
@@            Coverage Diff             @@
##             main    #8501      +/-   ##
==========================================
- Coverage   23.88%   23.86%   -0.03%     
==========================================
  Files        1380     1380              
  Lines      101872   101857      -15     
  Branches    38793    38788       -5     
==========================================
- Hits        24333    24307      -26     
+ Misses      75067    75040      -27     
- Partials     2472     2510      +38     
Flag Coverage Δ *Carryforward flag
differential 0.00% <ø> (?)
total 23.86% <ø> (-0.02%) ⬇️ Carriedforward from 7e445ef

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

@manato manato enabled auto-merge (squash) August 16, 2024 06:35
@badai-nguyen
Copy link
Contributor

@YoshiRi could you review this PR as codeowner?

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

@manato manato merged commit fd09a5b into autowarefoundation:main Aug 19, 2024
29 of 30 checks passed
badai-nguyen pushed a commit to tier4/autoware.universe that referenced this pull request Aug 26, 2024
kyoichi-sugahara pushed a commit to kyoichi-sugahara/autoware.universe that referenced this pull request Aug 27, 2024
badai-nguyen pushed a commit to tier4/autoware.universe that referenced this pull request Sep 2, 2024
badai-nguyen pushed a commit to tier4/autoware.universe that referenced this pull request Sep 2, 2024
badai-nguyen added a commit to tier4/autoware.universe that referenced this pull request Sep 10, 2024
….29.0 (#1526)

* feat(tensorrt yolox): inference and publish mask image from yolox model with semantic segmentation header (autowarefoundation#5553)

* add segmentation model

Signed-off-by: badai-nguyen <[email protected]>

fix: add multitask for segment

Signed-off-by: badai-nguyen <[email protected]>

* fix: publish mask

Signed-off-by: badai-nguyen <[email protected]>

* feat: publish colorized mask

Signed-off-by: badai-nguyen <[email protected]>

* fix: resize yolox mask

Signed-off-by: badai-nguyen <[email protected]>

* fix: add memory allocate operations

Signed-off-by: Manato HIRABAYASHI <[email protected]>

* refactor: remove underscore for a local variable

Signed-off-by: Manato HIRABAYASHI <[email protected]>

* chore: add condition to check the number of subscriber for newly added topics

Signed-off-by: Manato HIRABAYASHI <[email protected]>

* chore: pre-commit

Signed-off-by: badai-nguyen <[email protected]>

* fix: add roi overlapping segment

Signed-off-by: badai-nguyen <[email protected]>

* fix: roi overlay segment

Signed-off-by: badai-nguyen <[email protected]>

* chore: refactor

Signed-off-by: badai-nguyen <[email protected]>

* docs: update readme

Signed-off-by: badai-nguyen <[email protected]>

* fix: update model name

Signed-off-by: badai-nguyen <[email protected]>

* fix: add utils into tensorrt_yolox

Signed-off-by: badai-nguyen <[email protected]>

* fix: launch file

Signed-off-by: badai-nguyen <[email protected]>

* chore: remove unnecessary depend

Signed-off-by: badai-nguyen <[email protected]>

* chore: fix yaml file

Signed-off-by: badai-nguyen <[email protected]>

* chore: remove duplicated param in launch

Signed-off-by: badai-nguyen <[email protected]>

* fix: semantic class

Signed-off-by: badai-nguyen <[email protected]>

* docs: update readme

Signed-off-by: badai-nguyen <[email protected]>

* chore: update default param

Signed-off-by: badai-nguyen <[email protected]>

* fix: add processing time topic

Signed-off-by: badai-nguyen <[email protected]>

* chore: typo

Signed-off-by: badai-nguyen <[email protected]>

* style(pre-commit): autofix

* chore: fix cspell error

Signed-off-by: badai-nguyen <[email protected]>

* fix: yolox default param

Signed-off-by: badai-nguyen <[email protected]>

* chore: rename debug topics

Signed-off-by: badai-nguyen <[email protected]>

* chore: rename debug topics

Signed-off-by: badai-nguyen <[email protected]>

* docs: update model description

Signed-off-by: badai-nguyen <[email protected]>

* style(pre-commit): autofix

* fix: launch

Signed-off-by: badai-nguyen <[email protected]>

* refactor: unpublish mask for single task

Signed-off-by: badai-nguyen <[email protected]>

* Update perception/tensorrt_yolox/src/tensorrt_yolox.cpp

Co-authored-by: Manato Hirabayashi <[email protected]>

* Update perception/tensorrt_yolox/src/tensorrt_yolox.cpp

Co-authored-by: Manato Hirabayashi <[email protected]>

* Update perception/tensorrt_yolox/src/tensorrt_yolox.cpp

Co-authored-by: Manato Hirabayashi <[email protected]>

* style(pre-commit): autofix

* docs: update reamde

Signed-off-by: badai-nguyen <[email protected]>

* style(pre-commit): autofix

* fix: skip mask size as yolox output

Signed-off-by: badai-nguyen <[email protected]>

---------

Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: Manato HIRABAYASHI <[email protected]>
Co-authored-by: Manato HIRABAYASHI <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Manato Hirabayashi <[email protected]>

* fix(tensorrt_yolox): add run length encoding for sematic segmentation mask (autowarefoundation#7905)

* fix: add rle compress

Signed-off-by: badai-nguyen <[email protected]>

* fix: rle compress

Signed-off-by: badai-nguyen <[email protected]>

* fix: move rle into utils

Signed-off-by: badai-nguyen <[email protected]>

* chore: pre-commit

Signed-off-by: badai-nguyen <[email protected]>

* Update perception/autoware_tensorrt_yolox/src/utils.cpp

Co-authored-by: Yukihiro Saito <[email protected]>

* fix: remove unused variable

Signed-off-by: badai-nguyen <[email protected]>

* Update perception/autoware_tensorrt_yolox/src/utils.cpp

Co-authored-by: Manato Hirabayashi <[email protected]>

* style(pre-commit): autofix

* feat: add unit test for utils

Signed-off-by: badai-nguyen <[email protected]>

* style(pre-commit): autofix

* fix: unit test

Signed-off-by: badai-nguyen <[email protected]>

* chore: change to explicit index

Signed-off-by: badai-nguyen <[email protected]>

* style(pre-commit): autofix

* fix: cuda cmake

Signed-off-by: badai-nguyen <[email protected]>

* fix: separate unit test into different PR

Signed-off-by: badai-nguyen <[email protected]>

---------

Signed-off-by: badai-nguyen <[email protected]>
Co-authored-by: Yukihiro Saito <[email protected]>
Co-authored-by: Manato Hirabayashi <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* refactor(tensorrt_yolox): move utils into perception_utils (autowarefoundation#8435)

* chore(tensorrt_yolo): refactor utils

Signed-off-by: badai-nguyen <[email protected]>

* style(pre-commit): autofix

* fix: tensorrt_yolox

Signed-off-by: badai-nguyen <[email protected]>

---------

Signed-off-by: badai-nguyen <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>

* fix(perception_utils): install library after build (autowarefoundation#8501)

Signed-off-by: Manato HIRABAYASHI <[email protected]>

* fix(image_projection_based_fusion): resize sematic segmentation mask as input image size (autowarefoundation#7635)

Signed-off-by: badai-nguyen <[email protected]>

* fix(image_projection_based_fusion): segmentation pointcloud fusion param update (autowarefoundation#7858)

* fix(image_projection_based_fusion): add run length decoding for segmentation_pointcloud_fusion (autowarefoundation#7909)

* fix: add rle decompress

Signed-off-by: badai-nguyen <[email protected]>

* style(pre-commit): autofix

* fix: use rld in tensorrt utils

Signed-off-by: badai-nguyen <[email protected]>

* fix: rebase error

Signed-off-by: badai-nguyen <[email protected]>

* fix: dependency

Signed-off-by: badai-nguyen <[email protected]>

* fix: skip publish debug mask

Signed-off-by: badai-nguyen <[email protected]>

* Update perception/autoware_image_projection_based_fusion/src/segmentation_pointcloud_fusion/node.cpp

Co-authored-by: kminoda <[email protected]>

* style(pre-commit): autofix

* Revert "fix: skip publish debug mask"

This reverts commit 30fa9ae.

---------

Signed-off-by: badai-nguyen <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: kminoda <[email protected]>

* feat(tier4_perception_launch): add image segmentation based pointcloud filter (autowarefoundation#7225)

* feat(tier4_perception_launch): add image segmentation based pointcloud filter

Signed-off-by: badai-nguyen <[email protected]>

* chore: typo

Signed-off-by: badai-nguyen <[email protected]>

* fix: detection launch

Signed-off-by: badai-nguyen <[email protected]>

* chore: add maintainer

Signed-off-by: badai-nguyen <[email protected]>

* Revert "chore: add maintainer"

This reverts commit 5adfef6.

---------

Signed-off-by: badai-nguyen <[email protected]>

* style(pre-commit): autofix

* fix(autoware_image_projection_based_fusion): resolve issue with segmentation pointcloud fusion node failing with multiple mask inputs (autowarefoundation#8769)

---------

Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: Manato HIRABAYASHI <[email protected]>
Co-authored-by: Manato HIRABAYASHI <[email protected]>
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
Co-authored-by: Manato Hirabayashi <[email protected]>
Co-authored-by: Yukihiro Saito <[email protected]>
Co-authored-by: kminoda <[email protected]>
Co-authored-by: Yi-Hsiang Fang (Vivid) <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:common Common packages from the autoware-common repository. (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.

3 participants