mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +08:00
Don't trigger new map in localization mode when identity odom is detected
This commit is contained in:
@@ -904,7 +904,7 @@ bool Rtabmap::process(
|
|||||||
"Image %d is ignored!", data.id());
|
"Image %d is ignored!", data.id());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
else
|
else if(_memory->isIncremental()) // only in mapping mode
|
||||||
{
|
{
|
||||||
// Detect if the odometry is reset. If yes, trigger a new map.
|
// Detect if the odometry is reset. If yes, trigger a new map.
|
||||||
if(_memory->getLastWorkingSignature())
|
if(_memory->getLastWorkingSignature())
|
||||||
|
|||||||
Reference in New Issue
Block a user