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 -0500
Seen: 1,824 times
Last updated: Sep 05 '14
Changing launch parameters during Gazebo simulation
Rosparam dump from launch file
How to prevent launch shutdown on single remote connection failure? (required="true" not working)
Generic message to JSON converter in C++?
Read launch file arguments "<arg>" from another launch file
When launching node on remote machine, is the local or remote version of the package used?
Load a urdf/xml file as rosparm from a c++ ros node
Inappropriate ioctl on SPI when using launch, works using run