ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

rviz crashes when point cloud style is changed to Points

asked 2020-07-15 21:42:35 -0500

pahadi gravatar image

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 <path to="" rviz="" config="" used=""> __name:=rviz __log:=<path to="" rviz="" log="" folder="">/rviz-3.log]. log file: <path to="" rviz="" log="" folder="">/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.

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted

answered 2020-10-31 18:04:43 -0500

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: There are 2 solutions offered to keep you working.

edit flag offensive delete link more

answered 2020-07-21 15:56:47 -0500

Nitesh_j gravatar image

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

edit flag offensive delete link more


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.

pahadi gravatar image pahadi  ( 2020-07-22 09:58:26 -0500 )edit

I have exactly the same problem with noetic and vm ware player..

bjajo gravatar image bjajo  ( 2020-09-24 06:51:26 -0500 )edit

Question Tools

1 follower


Asked: 2020-07-15 21:39:40 -0500

Seen: 580 times

Last updated: Oct 31 '20