rocon_python_utils::ros::catkin Namespace Reference


def package_index_from_package_path

Function Documentation


Find all packages on the given list of paths

Iterates over the given list of paths in reverse order so that packages
found in the paths at the beginning of the list get overlaid onto packages
with the same name which were found in paths farther back in the list.

The resulting dictionary is keyed by the package name (so packages with
duplicate names are overlaid) and the values are the
:py:class:`catkin_pkg.package.Package` class

@note Is this actually implemented as a function in a general ros package?

:param ros_package_path: list of paths to search
:type ros_package_path: list
:returns: dictionary of package objects keyed by name of the package
:rtype: dict

Definition at line 17 of file

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