Home | Tutorials | Wiki | Issues
Ask Your Question
1

Load another world at runtime

asked 2014-07-08 09:19:56 -0500

Sir.Math-a-lot gravatar image

updated 2014-07-09 03:29:18 -0500

Dear Gazebo Users,

is it possible to load and run another world in a WorldPlugin and/or SystemPlugin at runtime? The running world should be replaced with a given new one. I don't need multiple worlds running. For my purposes, it's not possible to kill the running Gazebo instance and start a new one with a different world.

Thanks for your help!

Greetings

P.s. I'am using Gazebo 1.9.5

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2014-07-08 12:52:00 -0500

nkoenig gravatar image

A SystemPlugin could achieve the desired outcome, but I have tried such a thing.

You could try writing a simple main function that runs gzserver, like this;

edit flag offensive delete link more

Comments

Dear Nate, thanks for your comment! The main function would be a good fallback. I'll keep that in mind. Thanks. However, if you find anything to load another world in a SystemPlugin, let me know :)

Sir.Math-a-lot gravatar imageSir.Math-a-lot ( 2014-07-09 03:29:57 -0500 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2014-07-08 09:19:56 -0500

Seen: 282 times

Last updated: Jul 09 '14