Using respawn= "true" , ensure a clean restart ? [closed]
When using a respawn ="true" in the launch file, does ros automatically terminate the associated process or does that have to be handled by the user somehow. We are using kinect2_bridge nodelet and see that under some circumstances, when it crashes, fails to recover as the associated process is still hanging around or complains that a old node with the same name already exists.
Manually looking for a process with ps -lae | grep nodelet and then killing it solves the problem.
Will increasing the delay help ?
-cn