ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

You can try using the rosnode's python API : http://docs.ros.org/en/kinetic/api/rosnode/html/rosnode-module.html and call the function to kill the node in the service callback function.