About the configuration file in package

Thanks for the question, but we ask that you post it on answers.ros.org with the ros2 tag instead. You can link to it from here once you do so.

ROS Discourse is for news and general interest discussions. ROS Answers provides a forum which can be filtered by tags to make sure the relevant people can find and/or answer the question, and not overload everyone with hundreds of posts.

edit: posted at https://answers.ros.org/question/290767/how-to-load-the-configuration-file-in-package-in-ros2/