Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

What is the order of parameter set in launch file with include?

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?