From b3100b5bb5c9252de6a40282ed5c6d971caa5bb4 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:14:12 +0530 Subject: [PATCH] Update jacobian.py --- examples/pybullet/examples/jacobian.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/pybullet/examples/jacobian.py b/examples/pybullet/examples/jacobian.py index 3cdb4752e..4a7e9725c 100644 --- a/examples/pybullet/examples/jacobian.py +++ b/examples/pybullet/examples/jacobian.py @@ -1,4 +1,6 @@ import pybullet as p +import pybullet_data + def getJointStates(robot): @@ -51,6 +53,8 @@ clid = p.connect(p.SHARED_MEMORY) if (clid < 0): p.connect(p.DIRECT) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) + time_step = 0.001 gravity_constant = -9.81 p.resetSimulation()