remove printf from demo

This commit is contained in:
erwincoumans
2018-10-27 11:56:04 -07:00
parent bebe12d6d8
commit df9b4fb005

View File

@@ -182,7 +182,7 @@ def demo_run():
for m in range(len(motors)): for m in range(len(motors)):
limit=15 limit=15
ac = np.clip(actions[m],-limit,limit) ac = np.clip(actions[m],-limit,limit)
print (ac) #print (ac)
forces[m] = motor_power[m]*ac*0.082 forces[m] = motor_power[m]*ac*0.082
p.setJointMotorControlArray(human, motors,controlMode=p.TORQUE_CONTROL, forces=forces) p.setJointMotorControlArray(human, motors,controlMode=p.TORQUE_CONTROL, forces=forces)