fixed build with MRPT

This commit is contained in:
matlabbe
2023-06-06 08:51:40 -07:00
parent 1cc7c2818f
commit 0c3b202006
+1 -1
View File
@@ -1713,8 +1713,8 @@ bool Rtabmap::process(
// If variance is different for each axis, // If variance is different for each axis,
// build rtabmap with MRPT to use approach above. // build rtabmap with MRPT to use approach above.
_localizationCovariance += odomCovariance; _localizationCovariance += odomCovariance;
}
#endif #endif
}
} }
_lastLocalizationPose = newPose; // keep in cache the latest corrected pose _lastLocalizationPose = newPose; // keep in cache the latest corrected pose
if(!_memory->isIncremental() && signature->getWeight() >= 0) if(!_memory->isIncremental() && signature->getWeight() >= 0)