-
Notifications
You must be signed in to change notification settings - Fork 12
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
请问有遇到过Segmentation fault得问题吗 #2
Comments
可以贴一下代码片段和报错信息吗 |
from pclpy import pcl
tb = pcl.PointCloud.PointXYZ()
tb = tb.from_array(vertexes) # 凸包顶点
hull = pcl.surface.ConvexHull.PointXYZ()
hull.setInputCloud(tb)
hull.setDimension(3)
polygon = pcl.vectors.Vertices() # 凸包顶点
surface_hull = pcl.PointCloud.PointXYZ() # 凸包形状
hull.reconstruct(surface_hull, polygon) # 计算凸包 我暂时使用以下方法代替该方法了 from scipy.spatial import ConvexHull
hull = ConvexHull(vertexes)
polygon = self.list_to_vertices(hull.simplices)
surface_hull = pcl.PointCloud.PointXYZ()
surface_hull = surface_hull.from_array(vertexes) # 凸包顶点
return hull, surface_hull, polygon |
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
我在docker中通过conda安装了pclpy,结果使用hull时报错Segmentation fault
The text was updated successfully, but these errors were encountered: