Python shutdown node
How i can shutdown a node in python? In c++ is ros::shutdown() but in python i didn't find it. Thanks
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
If you set the disable_signals
parameter in rospy.init_node
to True
then you can manually shutdown the node with a call to rospy.signal_shutdown(reason)
where reason is a String with the reason for shutdown.
For more information check out this wiki http://wiki.ros.org/rospy/Overview/In... or the rospy API http://docs.ros.org/api/rospy/html/
Asked: 2015-09-25 05:13:22 -0500
Seen: 17,056 times
Last updated: Aug 01 '17
Any good examples of using dynamic_reconfigure for a python node?
How to recieve an array over Publisher and Subscriber? (Python)
how is rosh's ok() different from rospy.is_shutdown()?
How can I use custom python functions in other ROS packages?
Do I need to know any specific computer language or framework to use ROS?
Is anybody in ROS community using PySide?
is there a python equivalent of fromROSMsg/toROSMsg (pcl stack)
How to contributing python versions of tutorials? e.g. Tutorials for arm_navigation