Skip to content
Snippets Groups Projects
Commit 4bb31ff0 authored by Valenza Florian's avatar Valenza Florian
Browse files

[C++] Fix distance_impl for derived joints

parent a208166d
No related branches found
No related tags found
No related merge requests found
......@@ -236,7 +236,7 @@ namespace se3
double distance_impl(const Eigen::VectorXd & q0,const Eigen::VectorXd & q1) const
{
return fabs(difference_impl(q0,q1)[0]);
return difference_impl(q0,q1).norm();
}
ConfigVector_t neutralConfiguration_impl() const
......
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