rospy master status
Is there a tool for checking if the rosmaster is up using rospy?
Something along the lines of roscpp's ros::master::check()?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org |
Is there a tool for checking if the rosmaster is up using rospy?
Something along the lines of roscpp's ros::master::check()?
Might not be the best answer but the sample code in Master_API page might work for your purpose. If no master
is running, the follwoing line would fail with socket.error
:
code, msg, val = m.getSystemState(caller_id)
Please start posting anonymously - your entry will be published after you log in or create a new account.
Asked: 2013-04-22 07:43:11 -0500
Seen: 2,061 times
Last updated: Jun 15 '13
Use values of a callback in another callback
Loading a file from a python ros node
Where to find rospy functions documentations
TransformListener has unconnected trees
How do I test a service caller in python?
How to dynamically launch and kill nodes?