icp.align() SegFault

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

icp.align() SegFault

lucasamparo
Hello everyone... again...

I'm using the ICP to make a alignment on multiple point clouds...

In many cloud, its works...

but for some reason, some clouds had a segmentation fault...

pcl::IterativeClosestPoint<PointT, PointT> icp;
icp.setInputSource(cloud_in);
icp.setInputTarget(modelo2);
icp.setMaximumIterations (50);
PointCloudT r;
//Here trigger the fault
icp.align(r);

Some one can help me?