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

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 ?

Thanks!

edit retag flag offensive close merge delete

Comments

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
3

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

Question Tools

Stats

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

Seen: 2,309 times

Last updated: Jun 08 '12