ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Found this sample in rostopic. This looks more essential API-wise.
try:
rosgraph.Master('/rostopic').getPid()
except socket.error:
raise ROSTopicIOException("Unable to communicate with master!")