Gazebo | Ignition | Community
Ask Your Question

spawn world after gzserver start

asked 2017-10-13 12:10:00 -0500

GuillaumeB gravatar image


I would like to know if it's possible to spawn a world (sdf .world file) once gazebo is launched. I tried to use the service /gazebo/spawn_sdf_model but I got this error: GazeboRosApiPlugin SpawnModel Failure: input xml format not recognized (I was loading the default

Did someone has already succed to spawn a world after gzserver startup?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2017-10-13 15:19:15 -0500

chapulina gravatar image

updated 2017-10-13 15:22:35 -0500

If you don't give Gazebo a world on startup, it will load Unfortunately, "closing" a world and opening a new one is not supported yet. So the answer is no, but that doesn't mean someone can't have found a hacky way of doing it.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2017-10-13 12:10:00 -0500

Seen: 384 times

Last updated: Oct 13 '17