revert SHARED_MEMORY_GUI test

This commit is contained in:
Erwin Coumans 2019-07-03 12:10:24 -07:00
parent 113c2a83de
commit bb8f621bf9
2 changed files with 3 additions and 3 deletions

View File

@ -32,8 +32,8 @@ def getRayFromTo(mouseX, mouseY):
return rayFrom, rayTo
cid = p.connect(p.SHARED_MEMORY_GUI)
#cid = p.connect(p.GUI)
#cid = p.connect(p.SHARED_MEMORY_GUI)
cid = p.connect(p.GUI)
if (cid < 0):
p.connect(p.GUI)
p.setPhysicsEngineParameter(numSolverIterations=10)

View File

@ -3,7 +3,7 @@ import math
import time
dt = 1./240.
p.connect(p.SHARED_MEMORY_GUI)
p.connect(p.GUI)#SHARED_MEMORY_GUI)
p.loadURDF("r2d2.urdf",[0,0,1])
p.loadURDF("plane.urdf")
p.setGravity(0,0,-10)