disable GUI in deep_mimic, it slows down too much on Mac OSX

This commit is contained in:
Erwin Coumans
2019-02-11 09:44:59 -08:00
parent 30290dfba1
commit 786ddec076

View File

@@ -27,6 +27,8 @@ class PyBulletDeepMimicEnv(Env):
if not self._isInitialized:
if self.enable_draw:
self._pybullet_client = bullet_client.BulletClient(connection_mode=p1.GUI)
#disable 'GUI' since it slows down a lot on Mac OSX and some other platforms
self._pybullet_client.configureDebugVisualizer(self._pybullet_client.COV_ENABLE_GUI,0)
else:
self._pybullet_client = bullet_client.BulletClient()