Merge pull request #1531 from AndreaIncertiDelmonte/issue-1525

Override of the reset() public funciton in child classes
This commit is contained in:
erwincoumans authored and GitHub committed 2018-01-26 13:10:47 -08:00
commit 688d750d8a
1 file changed
+8
@@ -275,3 +275,11 @@ class KukaGymEnv(gym.Env):
#print("reward")
#print(reward)
return reward
def reset(self):
"""Resets the state of the environment and returns an initial observation.
Returns: observation (object): the initial observation of the
space.
"""
return self._reset()