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

Add unmeasured covariance to the features

parent b17dec32
No related branches found
No related tags found
3 merge requests!31devel->main,!29Add functionality for UAV,!27Fix test with acc_x = 2 m/s2
......@@ -75,13 +75,15 @@ CaptureMotionPtr ProcessorForceTorqueInertialPreintDynamics::emplaceCapture(cons
return capture;
}
FeatureBasePtr ProcessorForceTorqueInertialPreintDynamics::emplaceFeature(CaptureMotionPtr _capture_own)
{
auto motion = _capture_own->getBuffer().back();
FeatureBasePtr ftr = FeatureBase::emplace<FeatureMotion>(_capture_own,
"FeatureMotion",
motion.delta_integr_,
motion.delta_integr_cov_,
motion.delta_integr_cov_ + unmeasured_perturbation_cov_,
_capture_own->getCalibrationPreint(),
motion.jacobian_calib_);
return ftr;
......@@ -344,7 +346,7 @@ void ProcessorForceTorqueInertialPreintDynamics::computeCurrentDelta(const Eigen
// !!!!!! Now J_delta_model seems to be calculated in function tangent2delta as J_delta_tangent * J_tangent_model
// !!!!!!!!!!!
// TODO: Check the calculation od the J_delta_model in fti::tangent2delta()
// J_delta_model += J_delta_tangent * J_tangent_model;
J_delta_model += J_delta_tangent * J_tangent_model;
_jacobian_calib << J_delta_bias, J_delta_model; // J_delta_calib = [J_delta_bias ; J_delta_model]
const auto& J_delta_data = J_delta_tangent * J_tangent_data;
......
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