Skip to content
Snippets Groups Projects
Commit f5c039d7 authored by indidev's avatar indidev
Browse files

added no failure output option in comik solver

git-svn-id: http://svn.code.sf.net/p/simox/code/trunk@698 042f3d55-54a8-47e9-b7fb-15903f145c44
parent 1ef853fe
No related branches found
No related tags found
No related merge requests found
......@@ -201,9 +201,10 @@ bool CoMIK::computeSteps(float stepSize, float minumChange, int maxNStep)
lastDist = d;
step++;
}
VR_INFO << "IK failed, loop:" << step << endl;
VR_INFO << "error:" << (target - rns->getCoM().head(target.rows())).norm() << endl;
#ifndef NO_FAILURE_OUTPUT
//VR_INFO << "IK failed, loop:" << step << endl;
//VR_INFO << "error:" << (target - rns->getCoM().head(target.rows())).norm() << endl;
#endif
return false;
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment