PyBullet: fix Gym envs

This commit is contained in:
Erwin Coumans
2018-05-23 00:24:03 +10:00
parent 76561cbebd
commit 9a706d9cfd

View File

@@ -17,7 +17,7 @@ class StadiumScene(Scene):
def episode_restart(self, bullet_client):
self._p = bullet_client
Scene.episode_restart(self) # contains cpp_world.clean_everything()
Scene.episode_restart(self, bullet_client) # contains cpp_world.clean_everything()
if (self.stadiumLoaded==0):
self.stadiumLoaded=1