mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-03 01:50:24 +08:00
ORBSLAM2: fixed build
This commit is contained in:
@@ -808,14 +808,16 @@ public:
|
|||||||
|
|
||||||
mpLoopCloser->SetTracker(mpTracker);
|
mpLoopCloser->SetTracker(mpTracker);
|
||||||
mpLoopCloser->SetLocalMapper(mpLocalMapper);
|
mpLoopCloser->SetLocalMapper(mpLocalMapper);
|
||||||
#if RTABMAP_ORB_SLAM == 3
|
|
||||||
if(ULogger::level() > ULogger::kInfo)
|
|
||||||
Verbose::SetTh(Verbose::VERBOSITY_QUIET);
|
|
||||||
#endif
|
|
||||||
|
|
||||||
// Reset all static variables
|
// Reset all static variables
|
||||||
Frame::mbInitialComputations = true;
|
Frame::mbInitialComputations = true;
|
||||||
|
|
||||||
|
#if RTABMAP_ORB_SLAM == 3
|
||||||
|
if(ULogger::level() > ULogger::kInfo)
|
||||||
|
Verbose::SetTh(Verbose::VERBOSITY_QUIET);
|
||||||
|
|
||||||
mpTracker->Reset(true);
|
mpTracker->Reset(true);
|
||||||
|
#endif
|
||||||
|
|
||||||
return true;
|
return true;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user