ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
You can easily declare parameters outside a <node> tag in a launch file:
<launch>
<param name="common_param" value="123"/>
<node name="node1" ... />
<node name="node2" ... />
</launch>
2 | No.2 Revision |
You can easily declare parameters outside a <node> tag in a launch file:
<launch>
<param name="common_param" value="123"/>
<node name="node1" ... />
<node name="node2" ... />
</launch>
Since these parameters are not specific to any one node, you may want to resolve them using searchParam() in your code.