0
$\begingroup$

Rosanswers logo

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


Originally posted by emacsd on ROS Answers with karma: 194 on 2014-07-13

Post score: 0

$\endgroup$

1 Answer 1

0
$\begingroup$

Rosanswers logo

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.


Originally posted by ahendrix with karma: 47576 on 2014-07-13

This answer was ACCEPTED on the original site

Post score: 1


Original comments

Comment by emacsd on 2014-07-13:
You're right!

Thank you.

$\endgroup$

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.