diff --git a/source/RobotAPI/components/units/RobotUnit/NJointControllers/NJointCartesianNaturalPositionController.cpp b/source/RobotAPI/components/units/RobotUnit/NJointControllers/NJointCartesianNaturalPositionController.cpp index 67405541ac6bd334191fee0f5d740c609e0a3e46..d5f45c229d9595643638eb7965354c2591afe952 100644 --- a/source/RobotAPI/components/units/RobotUnit/NJointControllers/NJointCartesianNaturalPositionController.cpp +++ b/source/RobotAPI/components/units/RobotUnit/NJointControllers/NJointCartesianNaturalPositionController.cpp @@ -314,7 +314,7 @@ namespace armarx rt2nonrtBuf.tcp = _rtTcp->getPoseInRootFrame(); rt2nonrtBuf.elb = _rtElbow->getPoseInRootFrame(); rt2nonrtBuf.tcpTarg = _rtPosController->getCurrentTarget(); - rt2nonrtBuf.elbTarg = math::Helpers::CreatePose(_rtPosController->getCurrentElbowTarget(), Eigen::Matrix3f::Identity()); + rt2nonrtBuf.elbTarg = ::math::Helpers::CreatePose(_rtPosController->getCurrentElbowTarget(), Eigen::Matrix3f::Identity()); if (_rtStopConditionReached)