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

Follow core 434

parent 9d006afe
No related branches found
No related tags found
2 merge requests!39release after RAL,!38After 2nd RAL submission
...@@ -98,8 +98,6 @@ class ProcessorImu : public ProcessorMotion{ ...@@ -98,8 +98,6 @@ class ProcessorImu : public ProcessorMotion{
protected: protected:
ParamsProcessorImuPtr params_motion_Imu_; ParamsProcessorImuPtr params_motion_Imu_;
Eigen::Matrix<double, 9, 9> unmeasured_perturbation_cov_;
}; };
} }
......
...@@ -98,8 +98,6 @@ class ProcessorImu2d : public ProcessorMotion{ ...@@ -98,8 +98,6 @@ class ProcessorImu2d : public ProcessorMotion{
protected: protected:
ParamsProcessorImu2dPtr params_motion_Imu_; ParamsProcessorImu2dPtr params_motion_Imu_;
Eigen::Matrix<double, 5, 5> unmeasured_perturbation_cov_;
}; };
} }
......
...@@ -33,11 +33,7 @@ ProcessorImu::ProcessorImu(ParamsProcessorImuPtr _params_motion_imu) : ...@@ -33,11 +33,7 @@ ProcessorImu::ProcessorImu(ParamsProcessorImuPtr _params_motion_imu) :
ProcessorMotion("ProcessorImu", "POV", 3, 10, 10, 9, 6, 6, _params_motion_imu), ProcessorMotion("ProcessorImu", "POV", 3, 10, 10, 9, 6, 6, _params_motion_imu),
params_motion_Imu_(std::make_shared<ParamsProcessorImu>(*_params_motion_imu)) params_motion_Imu_(std::make_shared<ParamsProcessorImu>(*_params_motion_imu))
{ {
// Set constant parts of Jacobians //
jacobian_delta_preint_.setIdentity(9,9); // dDp'/dDp, dDv'/dDv, all zeros
jacobian_delta_.setIdentity(9,9); //
jacobian_calib_.setZero(9,6);
unmeasured_perturbation_cov_ = pow(params_motion_Imu_->unmeasured_perturbation_std, 2.0) * Eigen::Matrix<double, 9, 9>::Identity();
} }
ProcessorImu::~ProcessorImu() ProcessorImu::~ProcessorImu()
......
...@@ -33,11 +33,7 @@ namespace wolf { ...@@ -33,11 +33,7 @@ namespace wolf {
ProcessorMotion("ProcessorImu2d", "POV", 2, 5, 5, 5, 6, 3, _params_motion_imu), ProcessorMotion("ProcessorImu2d", "POV", 2, 5, 5, 5, 6, 3, _params_motion_imu),
params_motion_Imu_(std::make_shared<ParamsProcessorImu2d>(*_params_motion_imu)) params_motion_Imu_(std::make_shared<ParamsProcessorImu2d>(*_params_motion_imu))
{ {
// Set constant parts of Jacobians //
jacobian_delta_preint_.setIdentity(5,5); // dDp'/dDp, dDv'/dDv, all zeros
jacobian_delta_.setIdentity(5,5); //
jacobian_calib_.setZero(5,3);
unmeasured_perturbation_cov_ = pow(params_motion_Imu_->unmeasured_perturbation_std, 2.0) * Eigen::Matrix<double, 5, 5>::Identity();
} }
ProcessorImu2d::~ProcessorImu2d() ProcessorImu2d::~ProcessorImu2d()
......
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