Hi,

I am running some experiments in batch mode. I evaluate robots with 
different shapes, so each robot is different to the others. My program 
in each evaluation  must do:

1. create a world file with the model of the robot
2. launch Gazebo
3. launch the control program

When the simulation ends,  the control closes the interfaces, returns 
the fitness to the program and the control ends, but the gazebo is still 
running. My program destroys the gazebo but this is not a good method. 
After a  lot of simulations the gazebo crashes:

Maximum number of clients reachedLoading Gazebo
server/Simulator.cc:178 : Exception: Failed to Initialize the Rendering 
engine subsystem
server/rendering/OgreAdaptor.cc:170 : Exception: Can't open display: :0

There is any method to close the gazebo properly without use the GUI or 
without use the time out option? Maybe a good solution was a request 
into the simulation Iface.

Finally, why Gazebo in batch mode uses Ogre if there is nothing to 
rendering?

Thank you.


-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Playerstage-gazebo mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/playerstage-gazebo

Reply via email to