From ccf3426748a4758a42b9c15adf2a4727c2f69682 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:34:34 +0530 Subject: [PATCH] Update urdfEditor.py --- examples/pybullet/examples/urdfEditor.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/pybullet/examples/urdfEditor.py b/examples/pybullet/examples/urdfEditor.py index 0b5404318..9d29dd010 100644 --- a/examples/pybullet/examples/urdfEditor.py +++ b/examples/pybullet/examples/urdfEditor.py @@ -1,6 +1,8 @@ import pybullet as p import time from pybullet_utils import urdfEditor +import pybullet_data + ########################################## org2 = p.connect(p.DIRECT) @@ -10,6 +12,8 @@ if (org < 0): gui = p.connect(p.GUI) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) + p.resetSimulation(physicsClientId=org) #door.urdf, hinge.urdf, duck_vhacd.urdf, r2d2.urdf, quadruped/quadruped.urdf