Skip to content
Snippets Groups Projects
Commit 7185f526 authored by Junya Hayashi's avatar Junya Hayashi
Browse files

Delete params under the node before loading new parameters

parent 3fbdb4cf
No related branches found
No related tags found
Loading
<launch> <launch>
<arg name="use_tls" default="false" /> <arg name="use_tls" default="false" />
<node name="mqtt_bridge" pkg="mqtt_bridge" type="mqtt_bridge_node.py" output="screen"> <node name="mqtt_bridge" pkg="mqtt_bridge" type="mqtt_bridge_node.py" output="screen">
<rosparam file="$(find mqtt_bridge)/config/demo_params.yaml" command="load" /> <rosparam command="delete" param="" />
<rosparam if="$(arg use_tls)" file="$(find mqtt_bridge)/config/tls_params.yaml" command="load" ns="mqtt" /> <rosparam command="load" file="$(find mqtt_bridge)/config/demo_params.yaml" />
<rosparam if="$(arg use_tls)" command="load" ns="mqtt" file="$(find mqtt_bridge)/config/tls_params.yaml" />
</node> </node>
</launch> </launch>
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment