ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

Sleep command in launch file?

asked 2012-06-08 06:25:27 -0600

Alireza gravatar image

updated 2012-07-02 13:47:11 -0600

mjcarroll gravatar image

Hi, Is there any way to make a launch file sleep between executing different nodes and launch files? Also is there any way to write some logs from launch file ?


edit retag flag offensive close merge delete


Can you give more information about what you're doing that you need the sleep for?

lindzey gravatar image lindzey  ( 2012-06-08 11:35:43 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2012-06-08 06:52:36 -0600

joq gravatar image

updated 2012-06-08 10:30:40 -0600

  • Launch files intentionally make no guarantees about the timing or order in which various nodes start running. It is a basic ROS concept that each node should start and run independently, while others may come and go.

  • Many kinds of logging are available, via launch files and other mechanisms. What are you looking for?

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2012-06-08 06:25:27 -0600

Seen: 2,043 times

Last updated: Jun 08 '12