From e7778502e79423f157fcd3cad71c21b7d8c239ed Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Tue, 10 Dec 2019 15:48:07 -0800 Subject: [PATCH] fix pybullet_envs path --- examples/pybullet/gym/pybullet_envs/examples/batchsim3.py | 2 +- examples/pybullet/gym/pybullet_envs/examples/loadpanda.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/pybullet/gym/pybullet_envs/examples/batchsim3.py b/examples/pybullet/gym/pybullet_envs/examples/batchsim3.py index a7d57e127..962b2a206 100644 --- a/examples/pybullet/gym/pybullet_envs/examples/batchsim3.py +++ b/examples/pybullet/gym/pybullet_envs/examples/batchsim3.py @@ -5,7 +5,7 @@ parentdir = os.path.dirname(os.path.dirname(currentdir)) os.sys.path.insert(0, parentdir) from pybullet_utils import bullet_client -import panda_sim +from pybullet_envs.examples import panda_sim import time diff --git a/examples/pybullet/gym/pybullet_envs/examples/loadpanda.py b/examples/pybullet/gym/pybullet_envs/examples/loadpanda.py index 207a5ba40..022133a29 100644 --- a/examples/pybullet/gym/pybullet_envs/examples/loadpanda.py +++ b/examples/pybullet/gym/pybullet_envs/examples/loadpanda.py @@ -3,7 +3,7 @@ import pybullet_data as pd import math import time import numpy as np -import panda_sim +from pybullet_envs.examples import panda_sim p.connect(p.GUI) p.configureDebugVisualizer(p.COV_ENABLE_Y_AXIS_UP,1) @@ -18,4 +18,4 @@ while (1): panda.step() p.stepSimulation() time.sleep(timeStep) - \ No newline at end of file +