From a747a035de0dc977598c7557e66ef22d78aee653 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:08:04 +0530 Subject: [PATCH] Update getAABB.py --- examples/pybullet/examples/getAABB.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/pybullet/examples/getAABB.py b/examples/pybullet/examples/getAABB.py index b80a6fe6d..a94e581f0 100644 --- a/examples/pybullet/examples/getAABB.py +++ b/examples/pybullet/examples/getAABB.py @@ -1,4 +1,5 @@ import pybullet as p +import pybullet_data draw = 1 printtext = 0 @@ -6,6 +7,8 @@ if (draw): p.connect(p.GUI) else: p.connect(p.DIRECT) + +p.setAdditionalSearchPath(pybullet_data.getDataPath()) r2d2 = p.loadURDF("r2d2.urdf")