use SHARED_MEMORY as first connection attempt, to make visualization/OpenGL rendering easier

This commit is contained in:
Erwin Coumans
2017-09-11 09:23:14 -07:00
parent 16c58de272
commit f38b2cf14d
5 changed files with 16 additions and 8 deletions

View File

@@ -166,6 +166,9 @@ class MinitaurBulletEnv(gym.Env):
def set_env_randomizer(self, env_randomizer):
self._env_randomizer = env_randomizer
def configure(self, args):
self._args = args
def _reset(self):
if self._hard_reset:
self._pybullet_client.resetSimulation()