From 668d6a6c049aa3fb9673a737f858da92a98ea585 Mon Sep 17 00:00:00 2001 From: NiranthS <44475481+NiranthS@users.noreply.github.com> Date: Thu, 23 Apr 2020 23:28:07 +0530 Subject: [PATCH] Update reset_dynamic_info.py --- examples/pybullet/examples/reset_dynamic_info.py | 3 +++ 1 file changed, 3 insertions(+) diff --git a/examples/pybullet/examples/reset_dynamic_info.py b/examples/pybullet/examples/reset_dynamic_info.py index 1092496f8..d42aa558f 100644 --- a/examples/pybullet/examples/reset_dynamic_info.py +++ b/examples/pybullet/examples/reset_dynamic_info.py @@ -2,7 +2,10 @@ import pybullet as p import time import math +import pybullet_data + p.connect(p.GUI) +p.setAdditionalSearchPath(pybullet_data.getDataPath()) planeId = p.loadURDF(fileName="plane.urdf", baseOrientation=[0.25882, 0, 0, 0.96593]) p.loadURDF(fileName="cube.urdf", basePosition=[0, 0, 2]) cubeId = p.loadURDF(fileName="cube.urdf", baseOrientation=[0, 0, 0, 1], basePosition=[0, 0, 4])