Quantcast
Channel: Gazebo: Q&A Forum - RSS feed
Viewing all articles
Browse latest Browse all 7017

How to reset the simulation ?

$
0
0
Hi, I need to reset the hole state of the simulation (the world and all models) According to this [link](http://answers.gazebosim.org/question/8552/how-can-i-reset-the-simulation-properly-in-gazebo/) the Reset() function of the model don't work properly. I thought to do this: 1. Delete the robots and put them back 2. Stop and restart the physic engine 3. quit the simulation and restart again What is the appropriate way and how to do it from the API ?? Thank you in advance ps: I'm trying to do evolution of controllers with genetic algorithm to make quadrupeds walk. The ones that travel long distance we will keep them to next generation. So if I don't reset properly the simulation at the beginning of each generation the robots will do a complete different behavior.

Viewing all articles
Browse latest Browse all 7017

Trending Articles