-
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(crop_box_filter): fix bug #2992
fix(crop_box_filter): fix bug #2992
Conversation
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
sensing/pointcloud_preprocessor/src/crop_box_filter/crop_box_filter_nodelet.cpp
Show resolved
Hide resolved
Codecov ReportPatch coverage has no change and project coverage change:
Additional details and impacted files@@ Coverage Diff @@
## main #2992 +/- ##
==========================================
- Coverage 12.81% 12.79% -0.02%
==========================================
Files 1212 1212
Lines 85613 85714 +101
Branches 24260 24260
==========================================
Hits 10968 10968
- Misses 63282 63383 +101
Partials 11363 11363
*This pull request uses carry forward flags. Click here to find out more.
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. ☔ View full report at Codecov. |
Although it is not related to the bug, I think there is another problem with the implementation: the last point of the point cloud is ignored: autoware.universe/sensing/pointcloud_preprocessor/src/crop_box_filter/crop_box_filter_nodelet.cpp Lines 125 to 126 in 4c98689
Let's take a simple example: input cloud is 1D and has 1 point. Then:
Could you fix that as well? |
* Fix bug Signed-off-by: Takahiro Ishikawa <sykwer@gmail.com> * Fix bug Signed-off-by: Takahiro Ishikawa <sykwer@gmail.com> --------- Signed-off-by: Takahiro Ishikawa <sykwer@gmail.com>
Description
Fix bug in #2908.
Resolve #2970.
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.