From b0e50d0d5ad40d7eb1096874516662a107ab7694 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Thu, 7 Sep 2017 11:17:38 -0700 Subject: [PATCH] pybullet Gym envs: add more sleep in the enjoy functions to see what's happening. --- .../pybullet_envs/examples/enjoy_TF_AntBulletEnv_v0_2017may.py | 2 +- .../examples/enjoy_TF_HalfCheetahBulletEnv_v0_2017may.py | 2 +- .../examples/enjoy_TF_HopperBulletEnv_v0_2017may.py | 2 +- .../examples/enjoy_TF_HumanoidBulletEnv_v0_2017may.py | 2 +- .../examples/enjoy_TF_Walker2DBulletEnv_v0_2017may.py | 2 +- 5 files changed, 5 insertions(+), 5 deletions(-) diff --git a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_AntBulletEnv_v0_2017may.py b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_AntBulletEnv_v0_2017may.py index cac33f88f..482b78be3 100644 --- a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_AntBulletEnv_v0_2017may.py +++ b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_AntBulletEnv_v0_2017may.py @@ -48,7 +48,7 @@ def main(): obs = env.reset() while 1: - time.sleep(0.001) + time.sleep(0.01) a = pi.act(obs) obs, r, done, _ = env.step(a) score += r diff --git a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HalfCheetahBulletEnv_v0_2017may.py b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HalfCheetahBulletEnv_v0_2017may.py index 8bad97f97..27b16c1c4 100644 --- a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HalfCheetahBulletEnv_v0_2017may.py +++ b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HalfCheetahBulletEnv_v0_2017may.py @@ -51,7 +51,7 @@ def main(): obs = env.reset() while 1: - time.sleep(0.001) + time.sleep(0.01) a = pi.act(obs) obs, r, done, _ = env.step(a) score += r diff --git a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HopperBulletEnv_v0_2017may.py b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HopperBulletEnv_v0_2017may.py index e260568c9..dc26d57b3 100644 --- a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HopperBulletEnv_v0_2017may.py +++ b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HopperBulletEnv_v0_2017may.py @@ -51,7 +51,7 @@ def main(): obs = env.reset() while 1: - time.sleep(0.001) + time.sleep(0.01) a = pi.act(obs) obs, r, done, _ = env.step(a) score += r diff --git a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HumanoidBulletEnv_v0_2017may.py b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HumanoidBulletEnv_v0_2017may.py index 23d7a174c..c564cf675 100644 --- a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HumanoidBulletEnv_v0_2017may.py +++ b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_HumanoidBulletEnv_v0_2017may.py @@ -46,7 +46,7 @@ def main(): obs = env.reset() while 1: - time.sleep(0.001) + time.sleep(0.01) a = pi.act(obs) obs, r, done, _ = env.step(a) score += r diff --git a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_Walker2DBulletEnv_v0_2017may.py b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_Walker2DBulletEnv_v0_2017may.py index d01e08f1c..dfb6439fc 100644 --- a/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_Walker2DBulletEnv_v0_2017may.py +++ b/examples/pybullet/gym/pybullet_envs/examples/enjoy_TF_Walker2DBulletEnv_v0_2017may.py @@ -50,7 +50,7 @@ def main(): obs = env.reset() while 1: - time.sleep(0.001) + time.sleep(0.01) a = pi.act(obs) obs, r, done, _ = env.step(a) score += r