ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You could send a using basic linux methods to the process, but I don't think this would be a clean solution.
This thread:
http://answers.ros.org/question/27655/what-is-the-correct-way-to-do-stuff-before-a-node-is-shutdown/
contains a very good example for implementing both, rosnode kill and SIGINT handler. I you implemented your node following this pattern you could trigger its shutdown via rosnode kill.