ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
7

ROS 2 Params YAML File Package-Relative Path

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

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

Comments

@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 -0500 )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 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
1

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

AndyZe gravatar image

This PR added that capability to ROS2.

https://github.com/ros2/launch_ros/pu...

edit flag offensive delete link more

Comments

Thanks for the pointer!

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

Question Tools

6 followers

Stats

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

Seen: 1,406 times

Last updated: Nov 04 '21