ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

ROS 2 Params YAML File Package-Relative Path

asked 2020-04-06 19:35:45 -0600

Josh Whitley gravatar image

Is there currently any analog to the rosparam flag subst_value for ROS 2 YAML parameter files? I would like to use a package-relative path (like $(find package_name)/path/to/file.txt from ROS 1) in a ROS 2 parameters file but I can't find an example of this.

edit retag flag offensive close merge delete


@dirk-thomas, @William, or @tfoote Several people have asked me about this. Would you mind weighing in?

Josh Whitley gravatar image Josh Whitley  ( 2020-11-05 16:19:06 -0600 )edit

I am facing a similar issue, it would be great if someone could answer this.

Divyanshu gravatar image Divyanshu  ( 2020-11-25 04:10:03 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2021-11-04 11:48:26 -0600

AndyZe gravatar image

This PR added that capability to ROS2.

edit flag offensive delete link more


Thanks for the pointer!

Josh Whitley gravatar image Josh Whitley  ( 2021-12-20 16:22:31 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools



Asked: 2020-04-06 19:35:45 -0600

Seen: 740 times

Last updated: Nov 04 '21