What is the order of parameter set in launch file with include? [closed]
I understand the new value will override older value, but what happens with include? In this example, what will be the result of parameter /test
Main launch file:
<launch>
<param name="/test" type="string" value="a" />
<include file="included.launch" />
<param name="/test" type="string" value="c" />
</launch>
Included launch file:
<launch>
<param name="/test" type="string" value="b" />
</launch>
My test shows that "/test" will be c, but is this behavior reliable?
I guess this is answered by #q199608 as well as the links provided therein. If so, please feel free to close this question as a duplicate. If not, please edit your question with more details about what you don't understand.