mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
fixed the yellow screen on start (where inliers=0 for the first frame)
This commit is contained in:
@@ -674,7 +674,7 @@ void MainWindow::processOdometry(const rtabmap::SensorData & data, const rtabmap
|
|||||||
pose = _lastOdomPose;
|
pose = _lastOdomPose;
|
||||||
lost = true;
|
lost = true;
|
||||||
}
|
}
|
||||||
else if(info.inliers>=0 &&
|
else if(info.inliers>0 &&
|
||||||
_preferencesDialog->getOdomQualityWarnThr() &&
|
_preferencesDialog->getOdomQualityWarnThr() &&
|
||||||
info.inliers < _preferencesDialog->getOdomQualityWarnThr())
|
info.inliers < _preferencesDialog->getOdomQualityWarnThr())
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user