MCPcopy Create free account
hub / github.com/UZ-SLAMLab/ORB_SLAM3 / GetTimeFromIMUInit

Method GetTimeFromIMUInit

src/System.cc:1339–1346  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1337}
1338
1339double System::GetTimeFromIMUInit()
1340{
1341 double aux = mpLocalMapper->GetCurrKFTime()-mpLocalMapper->mFirstTs;
1342 if ((aux>0.) && mpAtlas->isImuInitialized())
1343 return mpLocalMapper->GetCurrKFTime()-mpLocalMapper->mFirstTs;
1344 else
1345 return 0.f;
1346}
1347
1348bool System::isLost()
1349{

Callers

nothing calls this directly

Calls 2

GetCurrKFTimeMethod · 0.80
isImuInitializedMethod · 0.45

Tested by

no test coverage detected