Case 1:
<xacro:property name="number" value="123"/>
Case 2:
<xacro:macro name="upper_leg" params="number">
content-- ${number}
-
</xacro:macro>
<xacro:upper_leg number="456"/>
In the first case, we are using XACRO Properties to define a global variable that can be accessed globally, where as in the second case we are using parameters to assign value to number while calling it.
If we are in a situation where there is a parameter and a Xacro property of the same name,"number"
in this case, which one will have priority?
That is, when we use ${number} inside the macro definition, will we have 123 or 456 as the value?