stop respawning node
Hi,
I'm using a launchfile (launched automatically during the boot process through rc.local), with several nodes set as respawn=true (which is the behaviour I want : if the node crashes, I want it to restart).
However, for debugging purposes, I sometimes want either to stop a node (for exemple if I want to send manually the commands it usually sends), or to run it in a terminal so I can see al its output in real time (including some cout prints I don't put in the logs).
Is there a way to do one (or both) of the above things without having first to kill all nodes, then modify the launchfile and launch everything again?
Ideally I would like something like "rosnode kill --no_respawn /my_node", or a command to disable the respawning of a given node so I can then kill it afterwards.
A command to redirect the output of a node to a terminal would also be interresting (for now, the output of all nodes is logged into a single file).
Thanks a lot in advance
Felix
PS : it's fine for me to modify the launchfile, as long as the node keep respawning when they crash
Related: #q306382.
I'm not aware of any changes to that part of
roslaunch
, so I'm inclined to still say "no, this is not supported", but it would perhaps be best to checkros/ros_comm
on Github and see for yourself.