From 19016528e60f3c1fb0f560db25995700887484d5 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:03:12 +0530 Subject: [PATCH] Update debugDrawItems.py --- examples/pybullet/examples/debugDrawItems.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/pybullet/examples/debugDrawItems.py b/examples/pybullet/examples/debugDrawItems.py index 0aac654bc..3b2137445 100644 --- a/examples/pybullet/examples/debugDrawItems.py +++ b/examples/pybullet/examples/debugDrawItems.py @@ -1,9 +1,12 @@ import pybullet as p import time +import pybullet_data cid = p.connect(p.SHARED_MEMORY) if (cid < 0): p.connect(p.GUI) + +p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.loadURDF("plane.urdf") kuka = p.loadURDF("kuka_iiwa/model.urdf") p.addUserDebugText("tip", [0, 0, 0.1],