mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-04 00:57:46 +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 from = iter->first;
|
||||||
int to = iter->second;
|
int to = iter->second;
|
||||||
if(iter->first < iter->second)
|
if(from > to)
|
||||||
{
|
{
|
||||||
from = iter->second;
|
from = iter->second;
|
||||||
to = iter->first;
|
to = iter->first;
|
||||||
|
|||||||
Reference in New Issue
Block a user