-
Notifications
You must be signed in to change notification settings - Fork 650
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(AEB): add height filter for avoiding the ghost brake by false positive point clouds #6637
feat(AEB): add height filter for avoiding the ghost brake by false positive point clouds #6637
Conversation
…sitive point clouds Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #6637 +/- ##
==========================================
- Coverage 14.77% 14.77% -0.01%
==========================================
Files 1923 1923
Lines 132533 132543 +10
Branches 39398 39398
==========================================
Hits 19586 19586
- Misses 91070 91080 +10
Partials 21877 21877
*This pull request uses carry forward flags. Click here to find out more. ☔ View full report in Codecov by Sentry. |
pcl::PassThrough<pcl::PointXYZ> height_filter; | ||
height_filter.setInputCloud(pointcloud_ptr); | ||
height_filter.setFilterFieldName("z"); | ||
height_filter.setFilterLimits(detection_range_min_height_, 5.0); |
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.
Ideally, 5.0 should depend on the vehicle's height. How about setting the vehicle's height + ros parameter to this value?
The ros parameter's name would be detection_range_height_margin
or detection_range_additional_height
.
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.
Thank you for your comment!
I changed this code following your comment in 49311e4
- Please check if the name of parameter (
detection_range_max_height_margin
) is easy to understand. - Please check if the default value of parameter (
detection_range_max_height_margin
) 0 is appropriate.
Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
Can you review this PR as a code owner? Please check the following things;
|
…sitive point clouds (autowarefoundation#6637) * feat(AEB): add height filter for avoiding the ghost brake by false positive point clouds Signed-off-by: Shin-kyoto <aquashin0202@gmail.com> * docs(AEB): add param for height filter Signed-off-by: Shin-kyoto <aquashin0202@gmail.com> * feat(AEB): add max height range in AEB Signed-off-by: Shin-kyoto <aquashin0202@gmail.com> * feat(AEB): update default params Signed-off-by: Shin-kyoto <aquashin0202@gmail.com> --------- Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
…sitive point clouds (autowarefoundation#6637) * feat(AEB): add height filter for avoiding the ghost brake by false positive point clouds Signed-off-by: Shin-kyoto <aquashin0202@gmail.com> * docs(AEB): add param for height filter Signed-off-by: Shin-kyoto <aquashin0202@gmail.com> * feat(AEB): add max height range in AEB Signed-off-by: Shin-kyoto <aquashin0202@gmail.com> * feat(AEB): update default params Signed-off-by: Shin-kyoto <aquashin0202@gmail.com> --------- Signed-off-by: Shin-kyoto <aquashin0202@gmail.com>
Description
Visualization
I checked
/control/autonomous_emergency_braking/debug/obstacle_pointcloud
Related links
TIER IV INTERNAL LINK
Tests performed
Notes for reviewers
@takayuki5168
Please review this PR keeping the following points in mind;
Please check if the name of parameter (
detection_range_min_height
) is easy to understand.Please check the default value of parameter (
detection_range_min_height
).- Please review whether 5.0 is an appropriate value in the following code. My rationale for choosing 5.0 is that the maximum height of large buses is within 3.7 meters..Please check if the name of parameter (detection_range_max_height_margin) is easy to understand.
Please check if the default value of parameter (detection_range_max_height_margin) 0 is appropriate.
Note: I sent PR to awf/autoware_launch to add these params to config; feat(AEB): add detection range params autoware_launch#934
Interface changes
Nothing.
Effects on system behavior
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.