mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
fixed detectMoreLoopClosures when RGBD/LocalBundleOnLoopClosure is true
This commit is contained in:
@@ -4650,7 +4650,7 @@ int Rtabmap::detectMoreLoopClosures(
|
||||
|
||||
int from = iter->first;
|
||||
int to = iter->second;
|
||||
if(iter->first < iter->second)
|
||||
if(from > to)
|
||||
{
|
||||
from = iter->second;
|
||||
to = iter->first;
|
||||
|
||||
Reference in New Issue
Block a user