How can I send a SIGINT to a single node?
I have a process that will cause roslaunch to shutdown with a SIGINT. I've found out that roslaunch has a maximum wait time of 15 seconds before it will escalate to a SIGTERM. This is occasionally not long enough for my reporter node to gracefully close since it will perform calculations and prepare a report when a SIGINT is received.
I think I can get around this if I can send a SIGINT directly to this node (not through roslaunch) and then afterwards I could send a SIGINT to roslaunch. Is there a way to do this? I read about using rosnode kill
but that will not trigger a SIGINT.