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

angel's profile - activity

2019-05-20 02:12:20 -0500 marked best answer Run rosparam load in runtime?

Hi ROS Community,

I am relatively new to ROS, but so far I have managed to solve everything using examples and tutorials online. Now, I want to be able to reload the parameters from a certain .yaml file while the node is running, i.e., I want to run my node with some parameter, edit the yaml file while the node is still running, and then being able to reload the new parameters. So far I have tried to use "rosparam load" in a different terminal, but didn't update the changes.

The possible solution I see is to read the file by myself using maybe yaml-cpp and use setParam, but it would really be a bit messy to mix the ROS way of handling the yaml file with the manual way. I would be happy to know if this can be done using ROS.

Thanks!

2017-09-18 14:15:07 -0500 received badge  Famous Question (source)
2017-09-11 10:18:09 -0500 received badge  Notable Question (source)
2017-09-11 06:15:00 -0500 received badge  Popular Question (source)
2017-09-01 05:40:05 -0500 asked a question Run rosparam load in runtime?

Run rosparam load in runtime? Hi ROS Community, I am relatively new to ROS, but so far I have managed to solve everythi