Overwrite of the reset() public funciton in child classes

This commit is contained in:
AndreaIncertiDelmonte
2018-01-26 10:09:14 +01:00
parent 0ce40b70c0
commit b908b147a6

View File

@@ -275,3 +275,11 @@ class KukaGymEnv(gym.Env):
#print("reward") #print("reward")
#print(reward) #print(reward)
return 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()