ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Apparently, specifying a launch file can be a bit easier.
You can use
from ament_index_python.packages import get_package_share_directory
from pathlib import Path
parameters_file_path = Path(get_package_share_directory('the_package'), 'config', 'example_param.yaml')
and pass that to the Node as described above.