parameters: (package, include_depends)
return_statement: return [x[:-len(EXT)] for x in types]
docstring: list all services in the specified package
      @param package: name of package to search
      @type  package: str
      @param include_depends: if True, will also list services in package dependencies
      @type  include_depends: bool
      @return: service type names
      @rtype: [str]
docstring_summary: list all services in the specified package
docstring_tokens: list all services in the specified package
function: def list_srv_types(package, include_depends):
      """
      list all services in the specified package
      @param package: name of package to search
      @type  package: str
      @param include_depends: if True, will also list services in package dependencies
      @type  include_depends: bool
      @return: service type names
      @rtype: [str]
      """
      types = roslib.resources.list_package_resources(package, include_depends, 'srv', _srv_filter)
      return [x[:-len(EXT)] for x in types]
function_tokens: def list_srv_types ( package , include_depends ) : types = roslib . resources . list_package_resources ( package , include_depends , 'srv' , _srv_filter ) return [ x [ : - len ( EXT ) ] for x in types ]