Functions
rocon_python_comms::services Namespace Reference

Functions

def find_service
 Find topics/services.

Function Documentation

def rocon_python_comms.services.find_service (   service_type,
  timeout = rospy.rostime.Duration(5.0),
  unique = False 
)

Find topics/services.

  Do a lookup to find services of the type
  specified. This will raise exceptions if it times out or returns
  multiple values. It can apply the additional logic of whether this should
  return a single unique result, or a list.

  @param service_type : service type specification, e.g. concert_msgs/GetInteractions
  @type str

  @param timeout : raise an exception if nothing is found before this timeout occurs.
  @type rospy.rostime.Duration

  @param unique : flag to select the lookup behaviour (single/multiple results)
  @type bool

  @return the fully resolved name of the service (unique) or list of names (non-unique)
  @type str

  @raise rocon_python_comms.NotFoundException

Definition at line 21 of file services.py.



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