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 | Q&A answers.ros.org |
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/
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2015-09-25 05:13:22 -0500
Seen: 15,677 times
Last updated: Aug 01 '17
ROS hokuyo_node LaserScan Subscriber msg data class python
Start a node from python code - rospy equivalence rosrun - rosgui qt
Python PCL fails to install [closed]
Unable to publish PoseStamped message
python PointCloud2 read_points() problem
is rospy.Publisher.publish() thread safe?
Segmentation fault (core dumped) OpenCV
How can I get real-time input from user?
ROS Python Module - Autocompletion doesn't work when self-compiled