Added some warnings

This commit is contained in:
matlabbe
2017-11-14 16:28:47 -05:00
parent b820e98bdc
commit 274e7c579e
2 changed files with 10 additions and 4 deletions
+4
View File
@@ -164,6 +164,10 @@ Transform estimateMotion3DTo2D(
double median_error_sqr = (double)errorSqrdDists[errorSqrdDists.size () >> 1];
*covariance *= 2.1981 * median_error_sqr;
}
else
{
UWARN("Not enough close points to compute covariance!");
}
}
else if(covariance)
{