fixed the yellow screen on start (where inliers=0 for the first frame)

This commit is contained in:
Mathieu Labbé
2015-03-02 05:30:07 -05:00
parent ee7a5f591a
commit 2029033dbf

View File

@@ -674,7 +674,7 @@ void MainWindow::processOdometry(const rtabmap::SensorData & data, const rtabmap
pose = _lastOdomPose;
lost = true;
}
else if(info.inliers>=0 &&
else if(info.inliers>0 &&
_preferencesDialog->getOdomQualityWarnThr() &&
info.inliers < _preferencesDialog->getOdomQualityWarnThr())
{