ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
I don't think rosnode kill
is sending SIGKILL. (If it is, there's nothing you can do).
I'm reasonably certain that rosnode kill
uses the node's XMLRPC API to request that the node shutdown cleanly; in C++ you can check for this with ros::ok()
or ros::isShuttingDown()
, as described on the roscpp initialization and shutdown page.