Conditional block for params on macro xacro
I was wondering how can i use if condition in params on macro? for example:
<xacro:macro name="leg" params="prefix suffix">
I want to use if condition about the suffix:
if suffix == left so create "A", but if suffix != left so create "A"
or the concept is like if-else condition in a programming language?
The documentation on ros wiki doesn’t explain that.