Recently, I am training a robot to go on itself with Reinforcement Learning in webots 2019a. However, I cannot figure out how to reset the world with Supervisor in Python. Thus I have to click the RESET button everytime it fails. So, how to use a Supervisor to reset the world?
In official doc @ https://www.cyberbotics.com/doc/reference/supervisor?tab=python @func: resetPhysics is as follows:
class Node: def resetPhysics(self): # ...
However, the previous part of the doc is talking about Supervisor node. I don't know how to use it. Can anyone give an example on it? I would appreciate it a lot if someone can help me.