publishers and subscribers failing

asked 2015-08-13 09:10:28 -0500

kayak0806 gravatar image

I'm having the same problem as described here: problem with roscore subscription and publishing, on ROS Indigo and Ubuntu 14.04. I can replicate it most reliably by causing a service to fail by killing the node with the service and letting a node with a client try to call that service, then killing and restarting both nodes. When this happens, any subscribers created before their corresponding publisher will fail to hear the published message. If the subscriber is created after the publisher, there's no problem. Occasionally it fixes itself after a few minutes, but usually I have to restart roscore. The weird part is that there are never any errors thrown, other than the expected ones caused by the nodes failing.

edit retag flag offensive close merge delete