fix pybullet_envs path

This commit is contained in:
Erwin Coumans
2019-12-10 15:48:07 -08:00
parent 70329ca2ad
commit e7778502e7
2 changed files with 3 additions and 3 deletions

View File

@@ -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

View File

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