Ask Your Question
0

respawn_delay does not delay the respawn! [closed]

asked 2014-07-13 13:17:27 -0500

dj0405 gravatar image

updated 2014-07-13 13:18:44 -0500

There's a new .launch element (only in Indigo) that delays the repawn of a node. However, it doesn't do what it says.

This is a demo part of the .launch file I have: Is there anything I'm missing?

<node pkg="res_prj" type="init_tf_broadcaster" name="init_tf_br"
 respawn="true" respawn_delay="20"/>

I expect the node init_tf_br respawn after 20 secs, but it starts immediately once it dies.

Thanks in advance.

Reference: http://wiki.ros.org/roslaunch/XML/node

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by dj0405
close date 2014-07-13 22:18:17.677653

1 Answer

Sort by ยป oldest newest most voted
1

answered 2014-07-13 17:12:59 -0500

ahendrix gravatar image

It looks like that change was introduced three days ago, and hasn't been released yet: https://github.com/ros/ros_comm/pull/446

Until the ros_comm maintainers do the next release, you should be able to test it if you get the latest version of ros_comm from source.

edit flag offensive delete link more

Comments

You're right! Thank you.

dj0405 gravatar imagedj0405 ( 2014-07-13 22:17:54 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2014-07-13 13:17:27 -0500

Seen: 420 times

Last updated: Jul 13 '14