Merge pull request #1531 from AndreaIncertiDelmonte/issue-1525

Override of the reset() public funciton in child classes
This commit is contained in:
erwincoumans
2018-01-26 13:10:47 -08:00
committed by GitHub

View File

@@ -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()