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

Fix singular covariance of feature

parent dd599a7c
No related branches found
No related tags found
1 merge request!207FeatureBase: covariance, information, square root information upper matrices
......@@ -82,7 +82,7 @@ class FeatureIMU_test : public testing::Test
//create a feature
delta_preint = problem->getProcessorMotionPtr()->getMotion().delta_integr_;
delta_preint_cov = problem->getProcessorMotionPtr()->getMotion().delta_integr_cov_;
delta_preint_cov = problem->getProcessorMotionPtr()->getMotion().delta_integr_cov_ + MatrixXs::Identity(9,9)*1e-08;
VectorXs calib_preint = problem->getProcessorMotionPtr()->getBuffer().getCalibrationPreint();
dD_db_jacobians = problem->getProcessorMotionPtr()->getMotion().jacobian_calib_;
feat_imu = std::make_shared<FeatureIMU>(delta_preint,
......
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