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

Fixed queryBBIncludes_subsample #1988

Conversation

raulmola
Copy link
Contributor

@raulmola raulmola commented Sep 5, 2017

Extractor's input cloud was not set and sample_points cast to int could
reach zero (e.g. if sample_points=0.9)

@@ -1639,7 +1639,8 @@ namespace pcl
random_sampler.setSample (static_cast<unsigned int> (sample_points));

pcl::ExtractIndices<pcl::PCLPointCloud2> extractor;

extractor.setInputCloud(tmp_blob);
Copy link
Member

Choose a reason for hiding this comment

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

Please replace tabs with spaces. Also add a space between function name and brackets to match PCL style. Thanks!

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Please check. I hope everything is ok now. Thanks.

@raulmola raulmola force-pushed the fix-in-outofcore-impl-octree-base-node branch from 837f537 to ee66ae6 Compare September 5, 2017 09:34
Extractor's input cloud was not set and sample_points cast to int could
reach zero (e.g. if sample_points=0.9)
@raulmola raulmola force-pushed the fix-in-outofcore-impl-octree-base-node branch from ee66ae6 to 30eee6d Compare September 5, 2017 09:56
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.

Yep. Thanks for contributing!

@SergioRAgostinho SergioRAgostinho merged commit 0114a05 into PointCloudLibrary:master Sep 5, 2017
@raulmola raulmola deleted the fix-in-outofcore-impl-octree-base-node branch September 5, 2017 12:25
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