Skip to content
Snippets Groups Projects
Commit 31dfc447 authored by Rainer Kartmann's avatar Rainer Kartmann
Browse files

Merge branch 'master' into armem/dev

parents 9d2123cf 069c8c9d
No related merge requests found
......@@ -130,8 +130,8 @@ BOOST_AUTO_TEST_CASE(testJointLimitAwareness)
rns->setJointValues(oldJV + jointVel2 * accuracy);
Eigen::VectorXf resultCartesianVel2 = ((h->_tcp->getPositionInRootFrame() - posBefore) / accuracy);
Eigen::Vector3f diff = (resultCartesianVel - cartesianVel);
Eigen::Vector3f diff2 = (resultCartesianVel2 - cartesianVel);
Eigen::Vector3f diff = (resultCartesianVel - cartesianVel.head<3>());
Eigen::Vector3f diff2 = (resultCartesianVel2 - cartesianVel.head<3>());
if (!((diff - diff2).norm() < 0.5 || diff2.norm() < diff.norm()))
{
......
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