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

aaaaahaaaaa's profile - activity

2017-05-25 13:47:53 -0500 received badge  Good Question (source)
2016-07-20 08:04:04 -0500 received badge  Nice Question (source)
2014-07-02 04:37:53 -0500 received badge  Famous Question (source)
2014-05-08 06:58:33 -0500 received badge  Notable Question (source)
2014-05-07 04:49:12 -0500 received badge  Popular Question (source)
2014-05-06 13:29:36 -0500 received badge  Student (source)
2014-05-06 09:46:20 -0500 asked a question Calling a service with parameters in a YAML file, passed as parameter in a launch file

Hi. Here is my problem :

  • I have two nodes A and B, where A launches a service which needs some parameters.
  • Both are launched via a launch file where a YAML file is passed as a parameter to B with the 'rosparam' tag.
  • The data represented in the YAML file correpond precisely to what the service in A needs as parameters.

Is there a way to call A from B with the content of the YAML without having to manually parse individually each values contained in the file (it's only composed of strings but the structure itself is pretty complex) ?

Thanks!