-
Notifications
You must be signed in to change notification settings - Fork 630
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(lidar_centerpoint,image_projection_based_fusion): add guard to avoid exceeding max voxel size #5824
Conversation
Signed-off-by: wep21 <daisuke.nishimatsu1021@gmail.com>
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #5824 +/- ##
==========================================
- Coverage 15.28% 15.16% -0.12%
==========================================
Files 1739 1766 +27
Lines 119755 120687 +932
Branches 36367 36367
==========================================
- Hits 18302 18300 -2
- Misses 80974 81907 +933
- Partials 20479 20480 +1
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for the quick fix!
LGTM
…oid exceeding max voxel size (autowarefoundation#5824)
…oid exceeding max voxel size (#1065) fix(lidar_centerpoint,image_projection_based_fusion): add guard to avoid exceeding max voxel size (autowarefoundation#5824) Co-authored-by: Daisuke Nishimatsu <42202095+wep21@users.noreply.github.com>
…oid exceeding max voxel size (autowarefoundation#5824)
…oid exceeding max voxel size (autowarefoundation#5824)
…oid exceeding max voxel size (autowarefoundation#5824) Signed-off-by: karishma <karishma@interpl.ai>
…oid exceeding max voxel size (autowarefoundation#5824) Signed-off-by: karishma <karishma@interpl.ai>
…oid exceeding max voxel size (autowarefoundation#5824)
…oid exceeding max voxel size (autowarefoundation#5824)
…oid exceeding max voxel size (autowarefoundation#5824)
…oid exceeding max voxel size (autowarefoundation#5824)
Description
When voxel size exceeds max voxel size, cuda illegal memory access occurs.
This PR adds guard to avoid exceeding max voxel size.
🤖[deprecated] Generated by Copilot at 38887d0
This pull request adds a new parameter
max_voxel_size
to thegenerateBaseFeatures_kernel
function and its related functions in theperception/image_projection_based_fusion
andperception/lidar_centerpoint
modules. The parameter is used to limit the number of points per voxel and filter out invalid voxels for the pointpainting fusion algorithm. The parameter value is configured in the launch files and passed to the function calls.Tests performed
checked in tier4 internal evaluation system.
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.
After all checkboxes are checked, anyone who has write access can merge the PR.