Function ament_index_cpp::get_package_share_directory
Defined in File get_package_share_directory.hpp
Function Documentation
-
std::string ament_index_cpp::get_package_share_directory(const std::string &package_name)
Return the share directory of the given package if found.
- Parameters:
package_name – [in] the name of the package to locate.
- Throws:
PackageNotFoundError – when the given package is not found.
- Returns:
share path of the package.