From df81157f3ca352b01b9a74945ee2fe2d66366136 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:31:31 +0530 Subject: [PATCH] Update sleeping.py --- examples/pybullet/examples/sleeping.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/pybullet/examples/sleeping.py b/examples/pybullet/examples/sleeping.py index e9ca7f404..fa4ef72c1 100644 --- a/examples/pybullet/examples/sleeping.py +++ b/examples/pybullet/examples/sleeping.py @@ -4,7 +4,10 @@ useMaximalCoordinates = False flags = p.URDF_ENABLE_SLEEPING +import pybullet_data + p.connect(p.GUI) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.configureDebugVisualizer(p.COV_ENABLE_RENDERING, 0) p.loadURDF("plane100.urdf", flags=flags, useMaximalCoordinates=useMaximalCoordinates)