mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +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());
|
||||
return false;
|
||||
}
|
||||
else
|
||||
else if(_memory->isIncremental()) // only in mapping mode
|
||||
{
|
||||
// Detect if the odometry is reset. If yes, trigger a new map.
|
||||
if(_memory->getLastWorkingSignature())
|
||||
|
||||
Reference in New Issue
Block a user