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()