diff --git a/examples/pybullet/gym/pybullet_utils/examples/combineUrdf.py b/examples/pybullet/gym/pybullet_utils/examples/combineUrdf.py index a764341ce..a7192ce70 100644 --- a/examples/pybullet/gym/pybullet_utils/examples/combineUrdf.py +++ b/examples/pybullet/gym/pybullet_utils/examples/combineUrdf.py @@ -98,4 +98,5 @@ ed0.createMultiBody([0,0,0],pgui._client) pgui.setRealTimeSimulation(1) while (pgui.isConnected()): + pgui.getCameraImage(320,200) time.sleep(1./240.) diff --git a/examples/pybullet/gym/pybullet_utils/examples/combined.py b/examples/pybullet/gym/pybullet_utils/examples/combined.py index f8117376b..3a7538442 100644 --- a/examples/pybullet/gym/pybullet_utils/examples/combined.py +++ b/examples/pybullet/gym/pybullet_utils/examples/combined.py @@ -8,5 +8,6 @@ p.loadURDF("combined.urdf", useFixedBase=True) # p.setJointMotorControl2(0,j,p.VELOCITY_CONTROL,targetVelocity=0.1) p.setRealTimeSimulation(1) while (p.isConnected()): + p.getCameraImage(320,200) import time time.sleep(1./240.)