Added log msg to tell when switching from Mapping to Localization is finished

This commit is contained in:
matlabbe
2016-05-26 12:51:32 -04:00
parent a4d36e0212
commit 0fa41d317a

View File

@@ -495,7 +495,8 @@ void Memory::parseParameters(const ParametersMap & parameters)
if((_memoryChanged || _linksChanged) && _dbDriver) if((_memoryChanged || _linksChanged) && _dbDriver)
{ {
UWARN("Switching from Mapping to Localization mode, the database will be saved and reloaded."); UWARN("Switching from Mapping to Localization mode, the database will be saved and reloaded.");
this->init(_dbDriver->getUrl()); this->init(_dbDriver->getUrl());
UWARN("Switching from Mapping to Localization mode, the database is reloaded!");
} }
} }
_incrementalMemory = value; _incrementalMemory = value;