Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

My first guess as to the delay is likely due to transport discovery. Each time you run the command gazebo's transport has to find the service.

You can send a batch request using the /world/WORLD_NAME/create_multiple service. In your example it would look like:

ign service -s /world/free_world/create_multiple --reqtype gnition.msgs.EntityFactory_V --reptype ignition.msgs.Boolean --timeout 2000 --req 'data{MODEL1_INFOMATION} data{MODEL2_INFORMATION} data{MODEL3_INFORMATION}'