Merge branch 'master' of https://github.com/introlab/rtabmap into scan_map

This commit is contained in:
matlabbe
2021-06-24 19:53:23 -04:00
2 changed files with 47 additions and 19 deletions
+2 -2
View File
@@ -585,11 +585,11 @@ void Memory::parseParameters(const ParametersMap & parameters)
UASSERT_MSG(_maxStMemSize >= 0, uFormat("value=%d", _maxStMemSize).c_str());
UASSERT_MSG(_similarityThreshold >= 0.0f && _similarityThreshold <= 1.0f, uFormat("value=%f", _similarityThreshold).c_str());
UASSERT_MSG(_recentWmRatio >= 0.0f && _recentWmRatio <= 1.0f, uFormat("value=%f", _recentWmRatio).c_str());
if(_imagePreDecimation == 0)
if(_imagePreDecimation <= 0)
{
_imagePreDecimation = 1;
}
if(_imagePostDecimation == 0)
if(_imagePostDecimation <= 0)
{
_imagePostDecimation = 1;
}