ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If I am not mistaken, the preferred way is to call ros::shutdown();
which is what the ros sigint handler does. See Initialization and Shutdown tutorial.