enable useArray for deep_mimic reward

This commit is contained in:
Erwin Coumans
2019-07-21 13:56:10 -07:00
parent 602f736640
commit d82c2043f0

View File

@@ -816,7 +816,7 @@ class HumanoidStablePD(object):
root_ang_vel_err = self.calcRootAngVelErr(angVelSim, angVelKin) root_ang_vel_err = self.calcRootAngVelErr(angVelSim, angVelKin)
vel_err += root_rot_w * root_ang_vel_err vel_err += root_rot_w * root_ang_vel_err
useArray = False useArray = True
if useArray: if useArray:
jointIndices = range(num_joints) jointIndices = range(num_joints)