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

rename emplaceKeyFrame -> emplaceFrame

parent a460b10a
No related branches found
No related tags found
3 merge requests!39release after RAL,!38After 2nd RAL submission,!24Resolve "follow core:#313"
......@@ -84,20 +84,19 @@ class FeatureImu_test : public testing::Test
//emplace Frame
ts = problem->getTimeStamp();
state_vec = problem->getState().vector(problem->getFrameStructure());
last_frame = problem->emplaceKeyFrame(ts, state_vec);
last_frame = problem->emplaceFrame(ts, state_vec);
//emplace a feature
delta_preint = processor_motion_ptr_->getMotion().delta_integr_;
delta_preint_cov = processor_motion_ptr_->getMotion().delta_integr_cov_ + MatrixXd::Identity(9,9)*1e-08;
VectorXd calib_preint = processor_motion_ptr_->getLast()->getCalibrationPreint();
dD_db_jacobians = processor_motion_ptr_->getMotion().jacobian_calib_;
feat_imu = std::static_pointer_cast<FeatureImu>(
FeatureBase::emplace<FeatureImu>(imu_ptr,
delta_preint,
delta_preint_cov,
calib_preint,
dD_db_jacobians,
imu_ptr) );
feat_imu = FeatureBase::emplace<FeatureImu>(imu_ptr,
delta_preint,
delta_preint_cov,
calib_preint,
dD_db_jacobians,
imu_ptr) ;
}
void TearDown() override
......
......@@ -502,7 +502,7 @@ class Process_Factor_Imu : public testing::Test
virtual void buildProblem()
{
// ===================================== SET KF in Wolf tree
FrameBasePtr KF = problem->emplaceKeyFrame(t, x1_exact);
FrameBasePtr KF = problem->emplaceFrame(t, x1_exact);
// ===================================== Imu CALLBACK
problem->keyFrameCallback(KF, nullptr, dt/2);
......
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