ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
If you put all nodes in one launch file, killing that will kill all those nodes.
Alternatively, you can call rosnode kill -a
, but that requires that the nodes are still "somewhat there" - meaning they react to this kill request. Depending on what your lock is that might not be the case.