Commit b606a2c5 authored by Pierre Fernbach's avatar Pierre Fernbach
Browse files

[script] update talos_circle to use of usePosturalTaskContactCreation

parent 14fe121f
...@@ -60,7 +60,7 @@ q_ref = fullBody.referenceConfig[::]+[0]*6 ...@@ -60,7 +60,7 @@ q_ref = fullBody.referenceConfig[::]+[0]*6
#q_ref = fullBody.referenceConfig_legsApart[::]+[0]*6 #q_ref = fullBody.referenceConfig_legsApart[::]+[0]*6
q_init = q_ref[::] q_init = q_ref[::]
fullBody.setReferenceConfig(q_ref) fullBody.setReferenceConfig(q_ref)
fullBody.usePosturalTaskContactCreation(True)
if abs(tp.q_goal[1]) <= abs(tp.q_goal[0]) : if abs(tp.q_goal[1]) <= abs(tp.q_goal[0]) :
fullBody.setPostureWeights(fullBody.postureWeights[::]+[0]*6) fullBody.setPostureWeights(fullBody.postureWeights[::]+[0]*6)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment