rviz crashes when point cloud style is changed to Points
I am trying to visualize couple of point clouds in rviz at a time. I want to differentiate between them, so I want to have them show in different colours. My point cloud is PointCloud2 type and has x,y,z,intensity,time,echo,etc. Here is my configuration for the point cloud in rviz:
Unreliable: Not selected
Selectable: Selected
Style: Points
Size(pixels): 5
Alpha: 1
Decay Time: 0
Position Transformer: XYZ
Colour Transformer: FlatColor
Queue Size: 10
Color: 32,74,135.
If I keep style anything other than Points, rviz shows the point cloud but in white colour. As soon as I change the style to Points, it either shows nothing or crashes/closes with this error: [rviz-3] process has died [pid 33203, exit code -11, cmd /opt/ros/melodic/lib/rviz/rviz -d
Asked by pahadi on 2020-07-15 21:39:40 UTC
Answers
I had this problem on our old laptop .. I used to close all the other applications/process like chorme.. file explorer etc I knw it's crazy but it had worked for me
Asked by Nitesh_j on 2020-07-21 15:56:47 UTC
Comments
Thanks Nitesh_j, but it doesn't work for me. All I had open was terminal and rviz. It still either crashes or stops showing points entirely. I must mention I am using Ubuntu on a virtual machine using VMware Workstation player. I can't run Ubuntu natively.
Asked by pahadi on 2020-07-22 09:58:26 UTC
I have exactly the same problem with noetic and vm ware player..
Asked by bjajo on 2020-09-24 06:51:26 UTC
I had the same issue.
When changing to the Points, they are very large, and make the PC work extra hard. If other options are used (ex: squares, flat squares, spheres...) they are rendered in a greyish white. This is an RViz bug, but there is a workaround. See my answer to the same issue here: https://answers.ros.org/question/358930/pointcloud2-large-points/?answer=364514#post-id-364514. There are 2 solutions offered to keep you working.
Asked by BuilderMike on 2020-10-31 18:04:43 UTC
Comments