mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 09:37:46 +08:00
Added some warnings
This commit is contained in:
@@ -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)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user