enable continuous action space for racecarZEDGymEnv

disable SHARED_MEMORY connection (it was just some debug test)
This commit is contained in:
Erwin Coumans
2017-09-11 17:34:06 -07:00
parent b7e7415b46
commit 3891602784
5 changed files with 21 additions and 12 deletions

View File

@@ -8,7 +8,7 @@ class BulletClient(object):
def __init__(self, connection_mode=pybullet.DIRECT):
"""Create a simulation and connect to it."""
self._client = pybullet.connect(pybullet.SHARED_MEMORY)
self._client = -1 #pybullet.connect(pybullet.SHARED_MEMORY)
if(self._client<0):
self._client = pybullet.connect(connection_mode)
self._shapes = {}