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 | ros @ Robotics Stack Exchange |
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)
Asked: 2013-04-22 07:43:11 -0500
Seen: 2,178 times
Last updated: Jun 15 '13
Problems with communication between multiple machines
writing a service to publish only once in a latched topic
How to publish sim time at desired frequency
Is there any point in using image_transport republish instead of using CompressedImage in Python?
Running roscore and nodes in separate computers
How to debug a ros node with pycharm?
How ROS nodes communicate offline?
Get valid frames from `tf2_ros.Buffer` based on `cache_time`