All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends
Classes | Functions
rocon_appmanager::utils Namespace Reference

Classes

class  PlatformTuple
 Classes. More...

Functions

def find_resource
def findResource
def platform_compatible
def platform_tuple

Function Documentation

  Ros style resource finder.

  @param resource is a ros resource (package/name)
  @type str
  @return full path to the resource
  @type str
  @raise NotFoundException: if resource does not exist.

Definition at line 63 of file utils.py.

  @return: filepath of resource.  Does not validate if filepath actually exists.
  @raise ValueError: if resource is not a valid resource name.
  @raise roslib.packages.InvalidROSPkgException: if package referred
    to in resource name cannot be found.
  @raise NotFoundException: if resource does not exist.

Definition at line 38 of file utils.py.

def rocon_appmanager.utils.platform_compatible (   first_platform_tuple,
  second_platform_tuple 
)
  Used to check platform compatibility between app manager
  and its apps.

  @param first_platform_tuple : platform.system.robot
  @type string
  @param second_platform_tuple : platform.system.robot
  @type string

  @return false or true depending on compatibility result
  @rtype bool

Definition at line 93 of file utils.py.

def rocon_appmanager.utils.platform_tuple (   platform,
  system,
  robot 
)
  Return the platform tuple string identified by the three strings.

Definition at line 86 of file utils.py.

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Friends


rocon_appmanager
Author(s): Jihoon
autogenerated on Tue Jan 22 2013 12:59:53