Skip to content
Snippets Groups Projects
Commit 63a989c7 authored by Joan Solà Ortega's avatar Joan Solà Ortega
Browse files

Use EPS_SMALL

parent d5691eef
No related branches found
No related tags found
No related merge requests found
...@@ -17,7 +17,7 @@ bool LocalParametrizationQuaternion<wolf::DQ_LOCAL>::plus(const Eigen::Map<const ...@@ -17,7 +17,7 @@ bool LocalParametrizationQuaternion<wolf::DQ_LOCAL>::plus(const Eigen::Map<const
using namespace Eigen; using namespace Eigen;
double angle = _delta_theta.norm(); double angle = _delta_theta.norm();
if (angle > Constants::EPS) if (angle > Constants::EPS_SMALL)
{ {
// compute rotation axis -- this guarantees unity norm // compute rotation axis -- this guarantees unity norm
Vector3s axis = _delta_theta / angle; Vector3s axis = _delta_theta / angle;
...@@ -52,7 +52,7 @@ bool LocalParametrizationQuaternion<wolf::DQ_GLOBAL>::plus(const Eigen::Map<cons ...@@ -52,7 +52,7 @@ bool LocalParametrizationQuaternion<wolf::DQ_GLOBAL>::plus(const Eigen::Map<cons
using namespace Eigen; using namespace Eigen;
double angle = _delta_theta.norm(); double angle = _delta_theta.norm();
if (angle > Constants::EPS) if (angle > Constants::EPS_SMALL)
{ {
// compute rotation axis -- this guarantees unity norm // compute rotation axis -- this guarantees unity norm
Vector3s axis = _delta_theta / angle; Vector3s axis = _delta_theta / angle;
......
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