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

Revision history [back]

click to hide/show revision 1
initial version

If you're using services you can leverage the waitForService method. This will cause the mode to wait for the service to have been communicated before you try to call it.

The nodes will take a few seconds to connect so as long as you can spin up and down these 20 nodes in parallel in the 15 seconds it should work.

Your other option is to have a persistent node and communicate with it directly from your starting and stopping nodes.