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

Restructure and add functionality to PCLPointCloud2 filters Par… #3500

Merged
merged 2 commits into from
Jan 14, 2020

Conversation

mvieth
Copy link
Member

@mvieth mvieth commented Dec 6, 2019

@mvieth
Copy link
Member Author

mvieth commented Dec 6, 2019

The check in RandomSample fails because it is tested whether the two filter functions (the one that takes a cloud and the one that takes indices) do the same thing, which (with this commit) they don't. My plan was to create another PR later with this commit which makes the applyFilter(cloud) function use the applyFilter(indices) function.

Copy link
Member

@taketwo taketwo left a comment

Choose a reason for hiding this comment

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

Hi, sorry for the delay.

My plan was to create another PR later with this commit

I certainly don't like the idea of merging a PR that breaks CI. So we either 1) disable the tests in question is this PR and re-enable later, or 2) add the said commit to this PR. I prefer the second option as it does not reduce test coverage in the progress and the commit is closely related anyway.

filters/src/extract_indices.cpp Outdated Show resolved Hide resolved
- previously, the functions did not consider removed_indices_ and extract_removed_indices_
- applyFilter(indices) in RandomSample previously also did not consider negative_
- adapted code from the templated filters (hpp files) was used
…, and RandomSample

- for CropBox and RandomSample the applyFilter(cloud)-functions were replaced with adapted code from the templated filters (hpp files)
- for RadiusOutlierRemoval, the existing applyFilter(cloud)-function was only slightly changed
@kunaltyagi
Copy link
Member

Let's merge this?

@taketwo taketwo changed the title Restructure and add functionality to PCLPointCloud2 filters Part 2 Restructure and add functionality to PCLPointCloud2 filters Par… Jan 14, 2020
@taketwo taketwo merged commit e2f8229 into PointCloudLibrary:master Jan 14, 2020
@mvieth mvieth deleted the filters2 branch January 30, 2020 15:41
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants