re-enable shared memory connection for pybullet Gym envs (with fallback to GUI or DIRECT)
suppress shared memory connection warnings add fallback from ER_BULLET_HARDWARE_OPENGL to TinyRenderer if not available
This commit is contained in:
@@ -13,6 +13,7 @@ p.connect(p.GUI_SERVER)
|
||||
p.setAdditionalSearchPath(pybullet_data.getDataPath())
|
||||
|
||||
while(1):
|
||||
#this is a no-op command, to allow GUI updates on Mac OSX (main thread)
|
||||
p.setPhysicsEngineParameter()
|
||||
time.sleep(0.01)
|
||||
p.getNumBodies()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user