ros-controls / ros_control

Generic and simple controls framework for ROS
http://wiki.ros.org/ros_control
BSD 3-Clause "New" or "Revised" License
470 stars 307 forks source link

spawner script does not wait for (sim) clock before waiting for services #431

Open guillaumeautran opened 4 years ago

guillaumeautran commented 4 years ago

With a simulation, the Gazebo clock could potentially not be available right away (takes time to be published or started unpublished). The spawner script proceeds to loading the controllers and eventually times out if the clock does not arrive in time.

A change to have the spawner script wait for the clock to be published would make the loading of controller more resilient in simulation when the simulated clock could be delayed.