Skip to content
Snippets Groups Projects
Commit 27d754c0 authored by Joaquim Casals Buñuel's avatar Joaquim Casals Buñuel
Browse files

getLastKeyFrame -> getLastFrame

parent 4154c4b9
No related branches found
No related tags found
2 merge requests!3After cmake and const refactor,!1new release
...@@ -69,8 +69,8 @@ void PublisherGnssAccuracy::publishDerived() ...@@ -69,8 +69,8 @@ void PublisherGnssAccuracy::publishDerived()
// 3D // 3D
else else
{ {
new_cov = problem_->getCovarianceBlock(problem_->getLastKeyFrame()->getP(), new_cov = problem_->getCovarianceBlock(problem_->getLastFrame()->getP(),
problem_->getLastKeyFrame()->getP(), problem_->getLastFrame()->getP(),
cov, 0, 0); cov, 0, 0);
WOLF_DEBUG_COND(not new_cov, "Last KF covariance could not be recovered, using the previous one"); WOLF_DEBUG_COND(not new_cov, "Last KF covariance could not be recovered, using the previous one");
} }
......
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