-
Notifications
You must be signed in to change notification settings - Fork 665
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(ground_segmentation): add intensity field #6791
fix(ground_segmentation): add intensity field #6791
Conversation
Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: badai-nguyen <[email protected]>
perception/ground_segmentation/src/scan_ground_filter_nodelet.cpp
Outdated
Show resolved
Hide resolved
This reverts commit 36fc554.
Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: badai-nguyen <[email protected]>
Signed-off-by: badai-nguyen <[email protected]>
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.
Just a minor comment in ray_ground_filter
. Because I am not sure how this filter is used now, my comment is not necessary for autoware update. You may ignore my comment.
perception/ground_segmentation/src/ray_ground_filter_nodelet.cpp
Outdated
Show resolved
Hide resolved
Signed-off-by: badai-nguyen <[email protected]>
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
@yukkysaito @miursh Could you approve this PR as codeowner? |
Signed-off-by: badai-nguyen <[email protected]>
* fix(grond_segmentation): add intensity Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): change to pointXYZI Signed-off-by: badai-nguyen <[email protected]> * fix(ransac_ground_filter): change to pointXYZI Signed-off-by: badai-nguyen <[email protected]> * fix(scan_ground_filter): intensity bug fix Signed-off-by: badai-nguyen <[email protected]> * fix(ground_segmentation): add field select option Signed-off-by: badai-nguyen <[email protected]> * Revert "fix(ground_segmentation): add field select option" This reverts commit 36fc554. * fix: copy input field to output Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): copy input fields Signed-off-by: badai-nguyen <[email protected]> * fix(ransac_ground_filter): copy input fields Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): indices extract bug fix Signed-off-by: badai-nguyen <[email protected]> * refactor: ray_ground_filter Signed-off-by: badai-nguyen <[email protected]> * fix: indices max Signed-off-by: badai-nguyen <[email protected]> * style(pre-commit): autofix --------- Signed-off-by: badai-nguyen <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com> Signed-off-by: vividf <[email protected]>
* fix(grond_segmentation): add intensity Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): change to pointXYZI Signed-off-by: badai-nguyen <[email protected]> * fix(ransac_ground_filter): change to pointXYZI Signed-off-by: badai-nguyen <[email protected]> * fix(scan_ground_filter): intensity bug fix Signed-off-by: badai-nguyen <[email protected]> * fix(ground_segmentation): add field select option Signed-off-by: badai-nguyen <[email protected]> * Revert "fix(ground_segmentation): add field select option" This reverts commit 36fc554. * fix: copy input field to output Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): copy input fields Signed-off-by: badai-nguyen <[email protected]> * fix(ransac_ground_filter): copy input fields Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): indices extract bug fix Signed-off-by: badai-nguyen <[email protected]> * refactor: ray_ground_filter Signed-off-by: badai-nguyen <[email protected]> * fix: indices max Signed-off-by: badai-nguyen <[email protected]> * style(pre-commit): autofix --------- Signed-off-by: badai-nguyen <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
* fix(grond_segmentation): add intensity Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): change to pointXYZI Signed-off-by: badai-nguyen <[email protected]> * fix(ransac_ground_filter): change to pointXYZI Signed-off-by: badai-nguyen <[email protected]> * fix(scan_ground_filter): intensity bug fix Signed-off-by: badai-nguyen <[email protected]> * fix(ground_segmentation): add field select option Signed-off-by: badai-nguyen <[email protected]> * Revert "fix(ground_segmentation): add field select option" This reverts commit 36fc554. * fix: copy input field to output Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): copy input fields Signed-off-by: badai-nguyen <[email protected]> * fix(ransac_ground_filter): copy input fields Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): indices extract bug fix Signed-off-by: badai-nguyen <[email protected]> * refactor: ray_ground_filter Signed-off-by: badai-nguyen <[email protected]> * fix: indices max Signed-off-by: badai-nguyen <[email protected]> * style(pre-commit): autofix --------- Signed-off-by: badai-nguyen <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
…tion#6791)" This reverts commit 729eec0.
* fix(grond_segmentation): add intensity Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): change to pointXYZI Signed-off-by: badai-nguyen <[email protected]> * fix(ransac_ground_filter): change to pointXYZI Signed-off-by: badai-nguyen <[email protected]> * fix(scan_ground_filter): intensity bug fix Signed-off-by: badai-nguyen <[email protected]> * fix(ground_segmentation): add field select option Signed-off-by: badai-nguyen <[email protected]> * Revert "fix(ground_segmentation): add field select option" This reverts commit 36fc554. * fix: copy input field to output Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): copy input fields Signed-off-by: badai-nguyen <[email protected]> * fix(ransac_ground_filter): copy input fields Signed-off-by: badai-nguyen <[email protected]> * fix(ray_ground_filter): indices extract bug fix Signed-off-by: badai-nguyen <[email protected]> * refactor: ray_ground_filter Signed-off-by: badai-nguyen <[email protected]> * fix: indices max Signed-off-by: badai-nguyen <[email protected]> * style(pre-commit): autofix --------- Signed-off-by: badai-nguyen <[email protected]> Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>
float x = *reinterpret_cast<float *>(input->data[global_size + x_offset]); | ||
float y = *reinterpret_cast<float *>(input->data[global_size + y_offset]); | ||
float z = *reinterpret_cast<float *>(input->data[global_size + z_offset]); | ||
const Eigen::Vector3d transformed_point = plane_affine.inverse() * Eigen::Vector3d(x, y, z); | ||
if (std::abs(transformed_point.z()) > height_threshold_) { | ||
no_ground_cloud_ptr->points.push_back(p); | ||
std::memcpy( | ||
&no_ground_cloud_msg_ptr->data[output_size], &input->data[global_size], point_step); | ||
output_size += point_step; |
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.
The node crashes here, so please fix it.
Description
Releated Link
Tests performed
ray_ground_filter
also ray_ground_filter copy input fields into output topic.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.