From d82c2043f0bd974c81b86749f70929935159f4a8 Mon Sep 17 00:00:00 2001 From: Erwin Coumans Date: Sun, 21 Jul 2019 13:56:10 -0700 Subject: [PATCH] enable useArray for deep_mimic reward --- .../gym/pybullet_envs/deep_mimic/env/humanoid_stable_pd.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pybullet/gym/pybullet_envs/deep_mimic/env/humanoid_stable_pd.py b/examples/pybullet/gym/pybullet_envs/deep_mimic/env/humanoid_stable_pd.py index f5f40fe29..c846ed33b 100644 --- a/examples/pybullet/gym/pybullet_envs/deep_mimic/env/humanoid_stable_pd.py +++ b/examples/pybullet/gym/pybullet_envs/deep_mimic/env/humanoid_stable_pd.py @@ -816,7 +816,7 @@ class HumanoidStablePD(object): root_ang_vel_err = self.calcRootAngVelErr(angVelSim, angVelKin) vel_err += root_rot_w * root_ang_vel_err - useArray = False + useArray = True if useArray: jointIndices = range(num_joints)