Skip to content
Snippets Groups Projects
Commit a941b5a0 authored by Dinesh Atchuthan's avatar Dinesh Atchuthan
Browse files

using other constructor for FeatureIMU

parent 0cde012d
No related branches found
No related tags found
No related merge requests found
...@@ -85,9 +85,9 @@ class FeatureIMU_test : public testing::Test ...@@ -85,9 +85,9 @@ class FeatureIMU_test : public testing::Test
//create a feature //create a feature
delta_preint_cov = wolf_problem_ptr_->getProcessorMotionPtr()->getCurrentDeltaPreintCov(); delta_preint_cov = wolf_problem_ptr_->getProcessorMotionPtr()->getCurrentDeltaPreintCov();
delta_preint = wolf_problem_ptr_->getProcessorMotionPtr()->getMotion().delta_integr_; delta_preint = wolf_problem_ptr_->getProcessorMotionPtr()->getMotion().delta_integr_;
feat_imu = std::make_shared<FeatureIMU>(delta_preint, delta_preint_cov); //feat_imu = std::make_shared<FeatureIMU>(delta_preint, delta_preint_cov);
std::static_pointer_cast<wolf::ProcessorIMU>(wolf_problem_ptr_->getProcessorMotionPtr())->getJacobians(dD_db_jacobians); std::static_pointer_cast<wolf::ProcessorIMU>(wolf_problem_ptr_->getProcessorMotionPtr())->getJacobians(dD_db_jacobians);
//feat_imu = std::make_shared<FeatureIMU>(delta_preint, delta_preint_cov, dD_db_jacobians); feat_imu = std::make_shared<FeatureIMU>(delta_preint, delta_preint_cov, imu_ptr, dD_db_jacobians);
feat_imu->setCapturePtr(imu_ptr); //associate the feature to a capture feat_imu->setCapturePtr(imu_ptr); //associate the feature to a capture
} }
......
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