Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR PYTHON

get package share vs FindPackageShare

`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 #FindPackageShare
ADD COMMENT
Topic
Name
2+4 =