more fixes in Gym Ant to make reward the same as Roboschool,

apparently feet_collision_cost is not properly updated in Roboschool,
for now, disable it in pybullet too: see https://github.com/openai/roboschool/issues/63
This commit is contained in:
Erwin Coumans
2017-09-09 12:36:53 -07:00
parent c144d9c045
commit 4f47a223ef
5 changed files with 48 additions and 13 deletions

View File

@@ -51,6 +51,8 @@ def main():
time.sleep(0.01)
a = pi.act(obs)
obs, r, done, _ = env.step(a)
#print("reward")
#print(r)
score += r
frame += 1
distance=5