Answers for "get package share vs Find Package Share"

2

get package share vs Find Package Share

`launch_ros.substitutions.FindPackageShare` and 
`ament_index_python.packages.get_package_share_directory`

FindPackageShare uses get_package_share_directory. 
But I would recommend `FindPackageShare` as this is the maintained one implemented for the substitutions.
Posted by: Guest on April-11-2022

Python Answers by Framework

Browse Popular Code Answers by Language