Robotics StackExchange | Archived questions

rviz stops node from publishing

Hallo,

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!

Asked by Emk on 2018-12-05 03:59:09 UTC

Comments

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.

Asked by mbudris on 2019-01-08 05:13:03 UTC

Answers