Answers for "ros rerun a node autimaticaly if it fails"

1

ros rerun a node autimaticaly if it fails

roslaunch provides the respawn attribute. E.g.:

<roslaunch>
  <node name="foo" pkg="package" type="node" respawn="true" />
</roslaunch>

Check out the documentation here.
Posted by: Guest on April-30-2022

Code answers related to "Shell/Bash"

Browse Popular Code Answers by Language