Package rocon_utilities :: Module ros_utilities
[frames] | no frames]

Module ros_utilities

source code

Classes
  SubscriberProxy
Works like a service proxy, but using a subscriber instead.
Functions
 
find_resource(package, resource)
Convenience wrapper around roslib to find a resource (file) inside a package.
source code
 
is_absolute_name(name)
Checks if the name begins with a leading slash which validates it either as an absolute or relative name in the ros world.
source code
Variables
  __package__ = 'rocon_utilities'
Function Details

find_resource(package, resource)

source code 

Convenience wrapper around roslib to find a resource (file) inside a package. It checks the output, and provides the appropriate error if there is one.

Parameters:
  • package - ros package
  • resource - some file inside the specified package
Raises:
  • IOError - raised if there is nothing found or multiple objects found.