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

Rename sqrt info transpose --> sqrt info upper

parent e0782d18
No related branches found
No related tags found
No related merge requests found
...@@ -99,7 +99,7 @@ const Eigen::MatrixXs& ConstraintBase::getMeasurementCovariance() const ...@@ -99,7 +99,7 @@ const Eigen::MatrixXs& ConstraintBase::getMeasurementCovariance() const
const Eigen::MatrixXs& ConstraintBase::getMeasurementSquareRootInformationTransposed() const const Eigen::MatrixXs& ConstraintBase::getMeasurementSquareRootInformationTransposed() const
{ {
return getFeaturePtr()->getMeasurementSquareRootInformationTransposed(); return getFeaturePtr()->getMeasurementSquareRootInformationUpper();
} }
CaptureBasePtr ConstraintBase::getCapturePtr() const CaptureBasePtr ConstraintBase::getCapturePtr() const
......
...@@ -65,7 +65,7 @@ inline bool ConstraintFix::operator ()(const T* const _p, const T* const _o, T* ...@@ -65,7 +65,7 @@ inline bool ConstraintFix::operator ()(const T* const _p, const T* const _o, T*
// residual // residual
Eigen::Map<Eigen::Matrix<T,3,1>> res(_residuals); Eigen::Map<Eigen::Matrix<T,3,1>> res(_residuals);
res = getFeaturePtr()->getMeasurementSquareRootInformationTransposed().cast<T>() * er; res = getFeaturePtr()->getMeasurementSquareRootInformationUpper().cast<T>() * er;
//////////////////////////////////////////////////////// ////////////////////////////////////////////////////////
// print Jacobian. Uncomment this as you wish (remember to uncomment #include "ceres/jet.h" above): // print Jacobian. Uncomment this as you wish (remember to uncomment #include "ceres/jet.h" above):
......
...@@ -57,7 +57,7 @@ inline bool ConstraintFix3D::operator ()(const T* const _p, const T* const _o, T ...@@ -57,7 +57,7 @@ inline bool ConstraintFix3D::operator ()(const T* const _p, const T* const _o, T
// residual // residual
Eigen::Map<Eigen::Matrix<T, 6, 1>> res(_residuals); Eigen::Map<Eigen::Matrix<T, 6, 1>> res(_residuals);
res = getFeaturePtr()->getMeasurementSquareRootInformationTransposed().cast<T>() * er; res = getFeaturePtr()->getMeasurementSquareRootInformationUpper().cast<T>() * er;
return true; return true;
} }
......
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