Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

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.
 
PREVIOUS NEXT
Tagged: #package #share #Find #Package #Share
ADD COMMENT
Topic
Name
5+9 =