rviz stops node from publishing

asked 2018-12-05 02:59:09 -0600

Emk gravatar image


I have weird problem with rviz in ros. I have a node, who receives a PointCloud and formats it into a PointCloud2 and publishes a PointCloud2 message afterwards. I can display that pointcloud in rviz as well. So far so good. Now here is my problem: Whenever I increase the number of points in the pointcloud and try to display it in rviz it doesn't work. It seems to stop my node from publishing. So when I close rviz, my node immediately starts publishing again. It is weird. So the increase in points in the pointcloud has no affect on the publisher itself but as soon as rviz gets involved the node refuses to publish constantly (it still publishes sometimes but not as fast as before rviz gets involved). What could be the reason for strange behavior?

Thanks in advance!

edit retag flag offensive close merge delete


I can add to it. I can echo command on and off as many times as I want from the shell, but as soon as I launch rviz, echo is blank.

mbudris gravatar image mbudris  ( 2019-01-08 04:13:03 -0600 )edit