Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Don't block on rospy.init_node


Simple question : is there a way for not blocking on init_node call ?

Doing it (Python) ;

      init_node("MyNode", disable_signals=True)

if roscore is not launched I get, which is normal, this :

      Unable to register with master node [http://localhost:11311/]: master may not be running yet. Will keep trying.

However it's not raising ROSException so it just blocks on it. Can we prevent it ?

Thank you for your help