From 23a3fd08e8939ddfdbc51a66f13832001dbb0c16 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:31:23 +0530 Subject: [PATCH] Update shiftCenterOfMass.py --- examples/pybullet/examples/shiftCenterOfMass.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/pybullet/examples/shiftCenterOfMass.py b/examples/pybullet/examples/shiftCenterOfMass.py index c0a3f1911..95a507d91 100644 --- a/examples/pybullet/examples/shiftCenterOfMass.py +++ b/examples/pybullet/examples/shiftCenterOfMass.py @@ -2,8 +2,11 @@ import pybullet as p import time import pybullet_data +import pybullet_data + p.connect(p.GUI) p.setAdditionalSearchPath(pybullet_data.getDataPath()) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.loadURDF("plane.urdf") p.setGravity(0, 0, -10)