diff --git a/source/RobotAPI/components/NaturalIKTest/NaturalIKTest.cpp b/source/RobotAPI/components/NaturalIKTest/NaturalIKTest.cpp index 1c4733b05d4e90d5a313026aeaaabd738932b024..65fa2f6ddf1046e8d578798cbb94023110a4907f 100644 --- a/source/RobotAPI/components/NaturalIKTest/NaturalIKTest.cpp +++ b/source/RobotAPI/components/NaturalIKTest/NaturalIKTest.cpp @@ -269,6 +269,7 @@ namespace armarx Eigen::VectorXf optimizationGradient(unsigned int id) override { int size = nodeSet->getSize(); + (void) size; Eigen::MatrixXf J = ik->getJacobianMatrix(tcp);//.block(0, 0, 3, size); //Eigen::Vector3f d = eef->getGlobalPose().block<3,1>(0,3) - target; @@ -326,6 +327,7 @@ namespace armarx Eigen::Vector3f shoulder_L = sho1_L->getPositionInRootFrame(); Eigen::Vector3f offset = (shoulder_R + shoulder_L) / 2; + (void) offset; NaturalIK ik_R("Right", shoulder_R, 1); NaturalIK ik_L("Left", shoulder_L, 1);