Humanoid Flagrun Harder, PyBullet version (request from Danijar)

Fix duplicate ground in all Roboschool converted scenes.
Fix bug in all PyBullet-Roboschool converted Humanoid environments (action needs to be clipped to [-1,1] range)
This commit is contained in:
erwincoumans
2018-01-24 17:53:40 -08:00
parent b8362fff94
commit aba4671358
6 changed files with 33 additions and 12 deletions

View File

@@ -73,7 +73,7 @@ def demo_run():
print("score=%0.2f in %i frames" % (score, frame))
if still_open!=True: # not True in multiplayer or non-Roboschool environment
break
restart_delay = 123460*2 # 2 sec at 60 fps
restart_delay = 60*2 # 2 sec at 60 fps
restart_delay -= 1
if restart_delay==0: break