At least for killing there is an xmlrpc shutdown call, which is what rosnode kill uses. That is probably the ROS'iest way to do it. Sending SIGINT would also be OK as ROS installs a SIGINT handler.
I don't think so.
The ROS-way is for all nodes to run continuously until shutdown. If a node crashes, roslaunch can respawn it for you.
Asked: 2012-03-01 08:44:21 -0500
Seen: 397 times
Last updated: Mar 01 '12
Determine a Node's Name/Namespace from within the Node (C++)
Beginner Tutorial 11- unable to create talker/listener node c++
Do I need to know any specific computer language or framework to use ROS?
Problem with sensor_msgs::Image::ConstPtr conversion to IplImage
is ros client c++ code thread safe?
ROS Answers is licensed under Creative Commons Attribution 3.0 Content on this site is licensed under a Creative Commons Attribution Share Alike 3.0 license.