def list_package_resources(package, include_depends, subdir, rfilter=os.path.isfile):
 package_dir = roslib.packages.get_pkg_dir(package)
 return list_package_resources_by_dir(package_dir, include_depends, subdir, rfilter)

def list_package_resources ( package , include_depends , subdir , rfilter = os . path . isfile ) : package_dir = roslib . packages . get_pkg_dir ( package ) return list_package_resources_by_dir ( package_dir , include_depends , subdir , rfilter )
list resources in a package within a particular subdirectory .