mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 01:27:46 +08:00
New parameter: OdomF2M/ValidDepthRatio
This commit is contained in:
@@ -176,6 +176,11 @@ Transform estimateMotion3DTo2D(
|
||||
{
|
||||
UWARN("Not enough close points to compute covariance!");
|
||||
}
|
||||
|
||||
if(float(oi) / float(inliers.size()) < 0.2f)
|
||||
{
|
||||
UWARN("A very low number of inliers have valid depth (%d/%d), the transform returned may be wrong!", oi, (int)inliers.size());
|
||||
}
|
||||
}
|
||||
else if(covariance)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user