overriding <arg>
I have a default arguments in a launch file called origin/orientation. If I decide to load a specific file containing another origin/orientation and I would like the default argument values to be re-written. See the code below.
<?xml version="1.0"?>
<launch>
<arg name="origin" default="-1 2 0"/>
<arg name="orientation" default="0 0 0 1"/>
<arg name="load_saved" default="True"/>
<group if="$(arg load_saved)">
<!--include file="$(arg save_path)/table_link/origin.xml"/-->
<param name="origin" value="0 0 0"/>
</group>
</launch>
I would want the argument origin to be chagned from "-1 2 0" -> "0 0 0". If load_save is True this value will be loaded from file via include. Does anyboy have any idea how to do this. At the moment the value is not getting changed.