mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 01:27:46 +08:00
RegistraitonVis: generate always 3D keypoints if possible
This commit is contained in:
@@ -2109,7 +2109,8 @@ bool Rtabmap::process(
|
||||
}
|
||||
else if(_memory->isIncremental() && // FIXME: not tested in localization mode, so do it only in mapping mode
|
||||
_optimizationMaxLinearError > 0.0f &&
|
||||
loopClosureLinksAdded.size())
|
||||
loopClosureLinksAdded.size() &&
|
||||
optimizationIterations > 0)
|
||||
{
|
||||
const Link * maxLinearLink = 0;
|
||||
for(std::multimap<int, Link>::iterator iter=constraints.begin(); iter!=constraints.end(); ++iter)
|
||||
|
||||
Reference in New Issue
Block a user