Commit c74391ec authored by Nicolas Mansard's avatar Nicolas Mansard Committed by Nicolas Mansard
Browse files

Minor feature added in meta task posture.

parent 341a9b60
......@@ -73,7 +73,7 @@ class MetaTaskPosture(object):
qdes[limbRange,0] = vectorToTuple(jointValues)
else: qdes[limbRange,0] = jointValues
self.ref = vectorToTuple(qdes)
self.feature.selec.value = toFlags(act)
if(len(act)>0): self.feature.selec.value = toFlags(act)
setGain(self.gain,gain)
class MetaTaskKinePosture(MetaTaskPosture):
......
Supports Markdown
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