Open Famok opened 5 years ago
Adding an arrow to the PCLVIsualizer kills the kernel. Pointclouds, lines and planes work fine.
The Kernel dies when executing the following code:
from pclpy import pcl viewer = pcl.visualization.PCLVisualizer('3D Viewer') viewer.setBackgroundColor(0,0,0) p1 = pcl.point_types.PointXYZ() p2 = pcl.point_types.PointXYZ() p1.x = 0; p1.y=0; p1.z=0 p2.x = 0; p2.y=0; p2.z=10 viewer.addArrow(p1,p2,r=1.0,g=0.0,b=0.0,id='arrow',viewport = 0) while not viewer.wasStopped(): viewer.spinOnce(10)
It works when replacing arrow with line:
from pclpy import pcl viewer = pcl.visualization.PCLVisualizer('3D Viewer') viewer.setBackgroundColor(0,0,0) p1 = pcl.point_types.PointXYZ() p2 = pcl.point_types.PointXYZ() p1.x = 0; p1.y=0; p1.z=0 p2.x = 0; p2.y=0; p2.z=10 viewer.addLine(p1,p2,r=1.0,g=0.0,b=0.0,id='arrow',viewport = 0) while not viewer.wasStopped(): viewer.spinOnce(10)
Me too.Can you ask me how to sovle this problem?
Adding an arrow to the PCLVIsualizer kills the kernel. Pointclouds, lines and planes work fine.
The Kernel dies when executing the following code:
It works when replacing arrow with line: