ORBSLAM2: fixed build

This commit is contained in:
matlabbe
2022-04-10 19:42:15 -04:00
parent e92dfd50e1
commit dc58266eda

View File

@@ -808,14 +808,16 @@ public:
mpLoopCloser->SetTracker(mpTracker);
mpLoopCloser->SetLocalMapper(mpLocalMapper);
#if RTABMAP_ORB_SLAM == 3
if(ULogger::level() > ULogger::kInfo)
Verbose::SetTh(Verbose::VERBOSITY_QUIET);
#endif
// Reset all static variables
Frame::mbInitialComputations = true;
#if RTABMAP_ORB_SLAM == 3
if(ULogger::level() > ULogger::kInfo)
Verbose::SetTh(Verbose::VERBOSITY_QUIET);
mpTracker->Reset(true);
#endif
return true;
}