Robotics StackExchange | Archived questions

how to use "rosparam load" to set specified namespace parameter?

for example , l creat a node which namespace is robot .Then I try to change some parameters in this node . so l create a xxx.yaml ,and set some parameters' values. And then in the xxx.launch ,I add this line , but the parameter doesn't change.

I wonder if there someting should be added in the yaml (ps: I just set values in the yaml ,like "wheel_radius : 0.2" ,and write "using namespace robot " ) ? Or the namespace should be set in some rules ? please help

Asked by Tomas yuan on 2017-02-20 20:59:27 UTC

Comments

Answers

Here is an example of a rosparam command from one of my launch files:

<rosparam command="load" file="$(find arm)/cfg/arm_calibration.yaml" ns="/calibration/arm" />

Note the namespace tag "ns"

Asked by James NT on 2021-03-31 07:12:19 UTC

Comments