fix pybullet racecarGymEnv to use thread-safe pybullet

This commit is contained in:
Erwin Coumans committed 2017-08-23 18:22:20 -07:00
1 parent 75231d63e8
commit ff4270a517
3 files changed
+37 -36

No files matched your search

@@ -5,8 +5,8 @@ parentdir = os.path.dirname(os.path.dirname(currentdir))
os.sys.path.insert(0,parentdir)
from pybullet_envs.bullet.racecarGymEnv import RacecarGymEnv
print ("hello")
environment = RacecarGymEnv(renders=True)
environment.reset()
targetVelocitySlider = environment._p.addUserDebugParameter("wheelVelocity",-1,1,0)
steeringSlider = environment._p.addUserDebugParameter("steering",-0.5,0.5,0)