From 02b62d858e006bc9fbc8c934897885472abe87b7 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:11:29 +0530 Subject: [PATCH] Update humanoid_benchmark.py --- examples/pybullet/examples/humanoid_benchmark.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/pybullet/examples/humanoid_benchmark.py b/examples/pybullet/examples/humanoid_benchmark.py index c063f9006..6666f2c03 100644 --- a/examples/pybullet/examples/humanoid_benchmark.py +++ b/examples/pybullet/examples/humanoid_benchmark.py @@ -1,6 +1,9 @@ import pybullet as p import time +import pybullet_data + p.connect(p.DIRECT) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) p.setGravity(0, 0, -10) p.setPhysicsEngineParameter(numSolverIterations=5) p.setPhysicsEngineParameter(fixedTimeStep=1. / 240.)