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

Use emplace_back()

parent aaa5b3bf
No related branches found
No related tags found
1 merge request!123Calibration
......@@ -318,7 +318,7 @@ void ProcessorMotion::integrateOneStep()
+ jacobian_delta_ * delta_cov_ * jacobian_delta_.transpose();
// push all into buffer
getBuffer().get().push_back(Motion(incoming_ptr_->getTimeStamp(),
getBuffer().get().emplace_back(incoming_ptr_->getTimeStamp(),
incoming_ptr_->getData(),
incoming_ptr_->getDataCovariance(),
delta_,
......@@ -327,7 +327,7 @@ void ProcessorMotion::integrateOneStep()
delta_integrated_cov_,
jacobian_delta_,
jacobian_delta_preint_,
jacobian_calib_));
jacobian_calib_);
}
void ProcessorMotion::reintegrateBuffer(CaptureMotionPtr _capture_ptr)
......
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