diff --git a/python/mocap/slide.py b/python/mocap/slide.py index 2895be737919ba39b6f7ec8bf383909c3b4d966f..55fd05c9be61a807094f6e8543ecb1f9cb376cda 100644 --- a/python/mocap/slide.py +++ b/python/mocap/slide.py @@ -186,7 +186,7 @@ taskCom = MetaTaskDynCom(dyn,dt) featurePosture = FeatureGeneric('featurePosture') featurePostureDes = FeatureGeneric('featurePostureDes') plug(dyn.position,featurePosture.errorIN) -featurePosture.sdes.value = featurePostureDes.name +featurePosture.setReference(featurePostureDes.name) featurePosture.jacobianIN.value = matrixToTuple( identity(robotDim) ) taskPosture = TaskDynPD('taskPosture') @@ -349,7 +349,7 @@ taskHead.featureDes.position.value = matrixToTuple(eye(4)) sot.push(taskLim.name) sot.push(taskHead.task.name) plug(robot.state,sot.position) - + # --- Events --------------------------------------------- sigset = ( lambda s,v : s.__class__.value.__set__(s,v) ) refset = ( lambda mt,v : mt.__class__.ref.__set__(mt,v) )