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(autoware_lidar_centerpoint): added a check to notify if we are dropping pillars #9488

Merged

Conversation

knzo25
Copy link
Contributor

@knzo25 knzo25 commented Nov 27, 2024

Description

If the input pointcloud generates more pillars than the model that handle, we are currently clipping them.
If that happens, we should notify users so they can consider increasing the model parameters.

Related links

Parent Issue:

  • Link

How was this PR tested?

Artificially decreased the maximum amount of voxels/pillars in the config file and made sure that the error message was displayed in a throttled manner.

Notes for reviewers

If you do not re-generate the engine you will have runtime errors

Interface changes

None.

Effects on system behavior

None.

Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
@github-actions github-actions bot added component:perception Advanced sensor data processing and environment understanding. (auto-assigned) tag:require-cuda-build-and-test labels Nov 27, 2024
@knzo25 knzo25 marked this pull request as ready for review November 27, 2024 08:53
@knzo25 knzo25 requested a review from kminoda as a code owner November 27, 2024 08:53
Copy link

github-actions bot commented Nov 27, 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: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
@knzo25 knzo25 requested a review from kminoda November 27, 2024 12:23
@kminoda
Copy link
Contributor

kminoda commented Nov 28, 2024

@knzo25 Would you also update the "How was this PR tested?" section in the description?

@knzo25 knzo25 added the run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Nov 28, 2024
@knzo25
Copy link
Contributor Author

knzo25 commented Nov 28, 2024

@kminoda
Done

Copy link

codecov bot commented Nov 28, 2024

Codecov Report

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

Project coverage is 29.50%. Comparing base (d3f3f65) to head (8aeb73f).
Report is 4 commits behind head on main.

Files with missing lines Patch % Lines
...autoware_lidar_centerpoint/lib/centerpoint_trt.cpp 0.00% 7 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main    #9488      +/-   ##
==========================================
+ Coverage   29.48%   29.50%   +0.02%     
==========================================
  Files        1439     1440       +1     
  Lines      108495   108480      -15     
  Branches    41479    41462      -17     
==========================================
+ Hits        31985    32006      +21     
+ Misses      73399    73366      -33     
+ Partials     3111     3108       -3     
Flag Coverage Δ *Carryforward flag
differential 6.44% <0.00%> (?)
total 29.50% <ø> (+0.02%) ⬆️ Carriedforward from 08621e6

*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

@kminoda kminoda left a comment

Choose a reason for hiding this comment

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

LGTM, thanks for the quick fix

@knzo25 knzo25 merged commit 562a49d into autowarefoundation:main Nov 28, 2024
31 of 32 checks passed
technolojin pushed a commit to technolojin/autoware.universe that referenced this pull request Dec 5, 2024
…ropping pillars (autowarefoundation#9488)

* feat: added a check to notify if we are dropping pillars

Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>

* chore: updated text

Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>

* chore: throttled the message

Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>

---------

Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
technolojin added a commit to tier4/autoware.universe that referenced this pull request Dec 6, 2024
…ropping pillars (autowarefoundation#9488) (#1676)

* feat: added a check to notify if we are dropping pillars



* chore: updated text



* chore: throttled the message



---------

Signed-off-by: Kenzo Lobos-Tsunekawa <kenzo.lobos@tier4.jp>
Co-authored-by: Kenzo Lobos Tsunekawa <kenzo.lobos@tier4.jp>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:perception Advanced sensor data processing and environment understanding. (auto-assigned) run:build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) tag:require-cuda-build-and-test
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants