rosparam load all yaml-files in folder
Hi, is it possible to load all yaml-files in an folder? Like:
<rosparam folder="$(find parameter)/my_params/" />
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Hi, is it possible to load all yaml-files in an folder? Like:
<rosparam folder="$(find parameter)/my_params/" />
According to the roslaunch doc it shouldn't work: "The <rosparam> tag can either reference a YAML file or contain raw YAML text." You could try writing a small node that takes a path and uses rosparam.load_file()
Yes I thought about that too, but I thought there might be an easier solution.
But if I write a node, how can I guarantee that all parameters are loaded before my launch file startes the next node that is depending on them?
Mh, that would work, but needs more codeing than adding a line for each yaml file in the launch file :(
There might be an different way? Would be a cool feature for rosparam
Asked: 2014-09-05 08:29:21 -0600
Seen: 1,758 times
Last updated: Sep 05 '14
Access rosparam from node handle passed by reference
How to start 'gz sim' from a yaml launch file ?
Pass an argument to a yaml configuration file
How to assign the result returned by the bash command to the arg parameter or the param parameter?
rosparam unable to find yaml file
What does roslaunch do while loading yaml config files? [closed]
launch file parameters that have curly braces
Pass parameters to xacro in launch file
How to set up a modular launch file to launch a variable number of robots and nodes?