How to use for loop in launch file in gazebo?
How can implement for loop concept in gazebo to spawn multiple robot model? For example:
<include file="$(find manycar)/launch/azcar.launch">
<arg name="robot_num" value="1"/>
<arg name="init_pose" value="-x 1 -y 1 -z 0 -Y 1.57 "/>
</include>
I want to iterate above code n times, variable being robot_num
's value.
How should I do that?