set arg in condition
Hello I am triying to develop a roslaunch. I need to set a argument in group with if like that
<group if="$(arg Flag)">
<arg name="my_oppurtunity" value="oppurtunity_1"
</group>
<group unless="$(arg Flag)">
<arg name="my_oppurtunity" value="oppurtunity_2"
</group>
<include file="my/launch/file/path">
<arg name="launch_arg" value="$(arg oppurtunity)"/>
</include>
But it can not find my_oppurtunity argument out of group. Is there a way to do that?