Robotics StackExchange | Archived questions

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 _name:=rviz _log:=/rviz-3.log]. log file: /rviz-3*.log There are 5 log files in that folder: master.log, roslaunch-ubuntu-33174.log, rosout-1-stdout.log,rosout.log and rviz-3-stdout.log. rviz-3-stdout.log is blank. Please let me know if you need more details and I'll be glad to provide. Thanks for any help.

Asked by pahadi on 2020-07-15 21:39:40 UTC

Comments

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