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

fix(voxel_grid_downsample_filter): support no intensity case #4922

Merged

Conversation

atsushi421
Copy link
Contributor

@atsushi421 atsushi421 commented Sep 7, 2023

Description

This PR fixes a bug in fast_voxel_grid_downsample_filter when use_down_sample_filter is set to True in pointcloud_map_filter.launch.py.
A validity check has been added because the pointcloud intensity field is not present in this scenario.

Related links

Tests performed

I have confirmed that rosbag replay simulation works when use_down_sample_filter is set to True in pointcloud_map_filter.launch.py.

In addition, I have comfirmed the following between point clouds with the same timestamp before and after this PR:

  • the number of point clouds is the same
  • the distance between the nearest point is less than 0.001

To reproduce: https://github.com/atsushi421/compare_topic_echo

Notes for reviewers

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.

  • The PR follows the pull request guidelines.
  • The PR has been properly tested.
  • The PR has been reviewed by the code owners.

Post-review checklist for the PR author

The PR author must check the checkboxes below before merging.

  • There are no open discussions or they are tracked via tickets.
  • The PR is ready for merge.

After all checkboxes are checked, anyone who has write access can merge the PR.

@atsushi421 atsushi421 added the type:bug Software flaws or errors. label Sep 7, 2023
@github-actions github-actions bot added the component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) label Sep 7, 2023
@atsushi421 atsushi421 marked this pull request as ready for review September 8, 2023 00:04
Copy link
Contributor

@miursh miursh left a comment

Choose a reason for hiding this comment

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

LGTM

@atsushi421 atsushi421 closed this Sep 11, 2023
@atsushi421 atsushi421 reopened this Sep 11, 2023
@atsushi421 atsushi421 added the tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) label Sep 11, 2023
@atsushi421 atsushi421 merged commit 65b414b into autowarefoundation:main Sep 12, 2023
59 of 60 checks passed
@atsushi421 atsushi421 deleted the fix_voxel_grid_dowmsample_filter branch September 14, 2023 06:38
miursh pushed a commit to tier4/autoware.universe that referenced this pull request Sep 15, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component:sensing Data acquisition from sensors, drivers, preprocessing. (auto-assigned) tag:run-build-and-test-differential Mark to enable build-and-test-differential workflow. (used-by-ci) type:bug Software flaws or errors.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants