How to reset the simulation ?
Hi,
I need to reset the hole state of the simulation (the world and all models)
According to this link the Reset() function of the model don't work properly. I thought to do this:
- Delete the robots and put them back
- Stop and restart the physic engine
- 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.