From bb8f621bf94c6e656b62df04ae5c9ca88ffcb0c4 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Wed, 3 Jul 2019 12:10:24 -0700 Subject: [PATCH] revert SHARED_MEMORY_GUI test --- examples/pybullet/examples/addPlanarReflection.py | 4 ++-- examples/pybullet/examples/configureDebugVisualizer.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/pybullet/examples/addPlanarReflection.py b/examples/pybullet/examples/addPlanarReflection.py index 0a18d92bf..6f26502a0 100644 --- a/examples/pybullet/examples/addPlanarReflection.py +++ b/examples/pybullet/examples/addPlanarReflection.py @@ -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) diff --git a/examples/pybullet/examples/configureDebugVisualizer.py b/examples/pybullet/examples/configureDebugVisualizer.py index d1fe6dd7e..e1d755708 100644 --- a/examples/pybullet/examples/configureDebugVisualizer.py +++ b/examples/pybullet/examples/configureDebugVisualizer.py @@ -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)