Functions
rocon_python_comms::nodes Namespace Reference

Functions

def find_node

Function Documentation

def rocon_python_comms.nodes.find_node (   wanted_node_name,
  unique = False 
)
  Do a lookup to find a node with the given name. The given name is treated as the unresolved node name.
  Hence this lookup will find nodes with the same name, but different namespaces.

  This will raise exceptions, if the node couldn't be found
  or in case unique is set multiple nodes with the same name are found.

  :param wanted_node_name str: unresolved name of the node looked for (e.g. 'gateway', not '/concert/gateway')

  :returns: the fully resolved name of the node (unique) or list of fully resolved names (non-unique)
  :rtype: str

  :raises: rocon_python_comms.NotFoundException

  :todo: accept resolved names -> https://github.com/robotics-in-concert/rocon_tools/issues/30

Definition at line 9 of file nodes.py.



rocon_python_comms
Author(s): Daniel Stonier
autogenerated on Fri May 2 2014 10:35:42