summaryrefslogtreecommitdiff
path: root/examples/pybullet/gym/pybullet_robots/panda/panda_sim.py
diff options
context:
space:
mode:
Diffstat (limited to 'examples/pybullet/gym/pybullet_robots/panda/panda_sim.py')
-rw-r--r--examples/pybullet/gym/pybullet_robots/panda/panda_sim.py1
1 files changed, 1 insertions, 0 deletions
diff --git a/examples/pybullet/gym/pybullet_robots/panda/panda_sim.py b/examples/pybullet/gym/pybullet_robots/panda/panda_sim.py
index b4d688687..006974b5d 100644
--- a/examples/pybullet/gym/pybullet_robots/panda/panda_sim.py
+++ b/examples/pybullet/gym/pybullet_robots/panda/panda_sim.py
@@ -53,6 +53,7 @@ class PandaSim(object):
pass
def step(self):
+ self.bullet_client.getCameraImage(320,200)
t = self.t
self.t += 1./60.
pos = [self.offset[0]+0.2 * math.sin(1.5 * t), self.offset[1]+0.044, self.offset[2]+-0.6 + 0.1 * math.cos(1.5 * t)]