@deprecated
def get_master():
 try:
  import xmlrpc.client as xmlrpcclient
 except ImportError:
  import xmlrpclib as xmlrpcclient
 uri = os.environ['ROS_MASTER_URI']
 return xmlrpcclient.ServerProxy(uri)

@ deprecated def get_master ( ) : try : import xmlrpc . client as xmlrpcclient except ImportError : import xmlrpclib as xmlrpcclient uri = os . environ [ 'ROS_MASTER_URI' ] return xmlrpcclient . ServerProxy ( uri )
provides the minion with the name of its master .