Gazebo | Ignition | Community
Ask Your Question

Revision history [back]

Yes, you can write a world plugin and spawn the models dynamically at runtime.

You can prepare your input data as a yaml file (probably the easiest) and read it in with yaml-cpp. Then you can construct model messages based on that input and publish them so that gazebo can then spawn the models.

See the GUIExampleSpawnWidget example (ignore the gui part).