remove printf from demo
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user