Skip to content
Snippets Groups Projects
Commit e3575008 authored by Joan Vallvé Navarro's avatar Joan Vallvé Navarro
Browse files

new api getLastFrame()

parent 1d5f9a1f
No related branches found
No related tags found
3 merge requests!11new release,!10new release,!4Gauss
......@@ -135,7 +135,7 @@ void PublisherPose::publishDerived()
// Covariance
Eigen::MatrixXd cov(6,6);
auto KF = problem_->getLastKeyFrame();
auto KF = problem_->getLastFrame();
bool success(true);
success = success && problem_->getCovarianceBlock(KF->getP(), KF->getP(), cov, 0, 0);
success = success && problem_->getCovarianceBlock(KF->getP(), KF->getO(), cov, 0, 3);
......
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