mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 17:47:49 +08:00
Added parameter selection of actionsByTime or not (default true)
Now if parameter databaseCleaned is false, "all" signatures are saved, otherwise, only those with no parent loop closure git-svn-id: http://rtabmap.googlecode.com/svn/branches/0.3/rtabmap@84 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -963,7 +963,7 @@ void Memory::moveToTrash(Signature * s)
|
||||
_dbDriver &&
|
||||
!s->isBadSignature() &&
|
||||
s->id()>0 &&
|
||||
(s->getLoopClosureId() == 0 || s->isSaved()))
|
||||
((s->getLoopClosureId() == 0 || s->isSaved()) || !_databaseCleaned))
|
||||
{
|
||||
_dbDriver->asyncSave(s);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user