diff --git a/examples/pybullet/gym/pybullet_envs/bullet/kukaGymEnv.py b/examples/pybullet/gym/pybullet_envs/bullet/kukaGymEnv.py index d2a47935d..b9ef16017 100644 --- a/examples/pybullet/gym/pybullet_envs/bullet/kukaGymEnv.py +++ b/examples/pybullet/gym/pybullet_envs/bullet/kukaGymEnv.py @@ -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() \ No newline at end of file