mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 17:40:23 +08:00
Rtabmap: don't reset mapCorrection transform when triggering a new map
This commit is contained in:
@@ -670,11 +670,6 @@ int Rtabmap::triggerNewMap()
|
||||
std::map<int, int> reducedIds;
|
||||
mapId = _memory->incrementMapId(&reducedIds);
|
||||
UINFO("New map triggered, new map = %d", mapId);
|
||||
_optimizedPoses.clear();
|
||||
_constraints.clear();
|
||||
_lastLocalizationNodeId = 0;
|
||||
_mapCorrection.setIdentity();
|
||||
_mapCorrectionBackup.setNull();
|
||||
|
||||
if(_bayesFilter)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user