ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
As mentioned the literature on this topic is already well developed. But my 2 cents on the issue are the following: 1
arg
is just a variable in a xml/launch file that has no specific relation to ROS
2.param
in a launch file will load a single parameter to the roscore parameter server
2 | No.2 Revision |
As mentioned mentioned, the literature on this topic is already well developed. But in my 2 cents on experience learning ROS this was the issue are the following:
1most useful description for me:
arg
is just a variable in a xml/launch file that has no specific relation to param
in a launch file will load a single parameter to the roscore parameter server
server
rosparam
in a launch file can load entire yaml files of parameters to the parameter server
And when param
and rosparam
are inside of a node they are essentially namespaced into that node which keeps them private.
You can find all of this information and more details here