Object Recognition tutorial segfaults (without any modification) on pcl 1.8.0

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

Object Recognition tutorial segfaults (without any modification) on pcl 1.8.0

momo
Hello PCL users,
 I just installed PCL 1.8.0 on Ubuntu 16.04.
 I copied and pasted the code from this tutorial: http://pointclouds.org/documentation/tutorials/correspondence_grouping.php
 Upon running with default parameters and with the two given point clouds (milk.pcd and milk_cartoon_all_small_clorox.pcd), I get a segfault!

 Any ideas what's going on?

 I dug a little bit and found the segfault happens in the following lines:

    rf_est.setInputCloud (model_keypoints);
    rf_est.setInputNormals (model_normals);
    rf_est.setSearchSurface (model);
    rf_est.compute (*model_rf);

(Line 298-301).

Thank you so much in advance.