Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

equivalent of for loop in .world file

Hi..I am trying to simulate different boxes in gazebo. For that, I am copy pasting the code for one box in order to simulate the other boxes as well. Is there any option to use for loop in .world file? I tried to use xacros but the code throws error. I would be glad if someone can provide me with an example to generate several boxes using for loop in world file