Function ament_index_cpp::get_package_share_path
Defined in File get_package_share_path.hpp
Function Documentation
-
std::filesystem::path ament_index_cpp::get_package_share_path(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.