Ask Your Question

Revision history [back]

Interesting - I suppose the launch_ros.substitutions is the preferred since somebody spent the time to implement it - and under the hood it actually just calls ament_index_python.packages.get_package_shared_directory (see https://github.com/ros2/launch_ros/pull/57/files#diff-a386f24e1ed85582db84abc87a5bf684R100)