-
-
Notifications
You must be signed in to change notification settings - Fork 4.7k
Closed
Description
Hello,
I'm having a segfault on a convex hull reconstruction. A simple snipped :
// size is > 0
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud(new pcl::PointCloud<pcl::PointXYZ>);
cloud->width = size;
cloud->height = 1;
cloud->is_dense = false;
cloud->points.resize(size);
//...
// Fill the point cloud
///
pcl::PointCloud<pcl::PointXYZ>::Ptr cloud_hull(new pcl::PointCloud<pcl::PointXYZ>);
pcl::ConvexHull<pcl::PointXYZ> chull;
std::vector<pcl::Vertices> polys;
chull.setInputCloud(cloud);
chull.setDimension(3);
chull.reconstruct(*cloud_hull, polys); // Segfault
The segfault appears in surface/include/pcl/surface/impl/convex_hull.hpp
line 342 :
int num_facets = qh num_facets;
Using pcl1.7.1 from Arch linux aur and qhull 2012.1-2 packaged.
I'm pretty sure I have no problem on some other computers with pcl 1.7.0 and qhul 2009.1-3
I'll try to get more info if needed
Metadata
Metadata
Assignees
Labels
No labels