Segment Fault when running the example
I have installed PCL and python wrapper according to the instructions. However, when I run the example of segmentation (examples/segment_cyl_plane.py), after printing the cloud_filtered.size, this code just caused a Segmentation Fault .
The code runs under PCL v1.8.1 and python-pcl in master branch.
Me too
Was anyone of you able to resolve this issue? I am facing a similar problem.
same here
Hi.
I never face that mistake. I just had to adjust the path to the .pcd-file. After typing python3 segment_cyl_plane.py everything went flawless and I got the following output:
307200 139897 [0.01619018241763115, -0.8376670479774475, -0.545941174030304, 0.5288621783256531] [0.054539456963539124, 0.08741770684719086, 0.7791932225227356, -0.013573200441896915, 0.8348621129989624, 0.5502916574478149, 0.038740791380405426]
And the pcd-files with the segmented cylinder and the segmented plane are saved in python-pcl/examples. I work with PCL 1. 8, python-pcl 0. 3. 0a1 (I think), Ubuntu 18. 04. and python 3.6.9. What environment are you using?
Hello! The same problem here. I'm using PCL 1.9.1, python-pcl 0.3.0a1, VTK 8.1, Ubuntu 18.04, python 3.6.9. I have built everything from source (PCL, VTK, python-pcl)