Update kuka_grasp_block_playback.py

This commit is contained in:
NiranthS 2020-04-23 23:14:31 +05:30 committed by GitHub
parent 7b6dc8358c
commit 7135f565c9
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -43,7 +43,10 @@ def readLogFile(filename, verbose=True):
#clid = p.connect(p.SHARED_MEMORY)
import pybullet_data
p.connect(p.GUI)
p.setAdditionalSearchPath(pybullet_data.getDataPath())
p.loadSDF("kuka_iiwa/kuka_with_gripper.sdf")
p.loadURDF("tray/tray.urdf", [0, 0, 0])
p.loadURDF("block.urdf", [0, 0, 2])