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

Hi!

With this you only reduce the likelihood of things going wrong. A better solution in my opinion would be to add --wait to the roslaunch commands as documented here: http://wiki.ros.org/roslaunch/Commandline%20Tools#Launch_syntax

This way roslaunch will wait until it detects a roscore (as configured per ROS_MASTER_URI) and you avoid the less clean "sleep solution".