ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 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!")