mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
MainWindow: don't save empty database. Odometry: return null pose when not initialized.
This commit is contained in:
@@ -1045,11 +1045,12 @@ bool Rtabmap::process(const SensorData & data)
|
||||
}
|
||||
else if(hypothesis.second < _loopRatio*_lcHypothesisValue)
|
||||
{
|
||||
UDEBUG("rejected hypothesis: not satisfying ratio");
|
||||
UWARN("rejected hypothesis: not satisfying hypothesis ratio (%f < %f * %f)",
|
||||
hypothesis.second, _loopRatio, _lcHypothesisValue);
|
||||
}
|
||||
else
|
||||
{
|
||||
UDEBUG("rejected hypothesis: by epipolar geometry");
|
||||
UWARN("rejected hypothesis: by epipolar geometry");
|
||||
}
|
||||
rejectedHypothesis = true;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user