mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 09:30:25 +08:00
Odom F2M always report 9999 when lost (#1589)
This commit is contained in:
@@ -1560,6 +1560,10 @@ Transform OdometryF2M::computeTransform(
|
||||
{
|
||||
info->reg = regInfo.copyWithoutData();
|
||||
}
|
||||
if(output.isNull())
|
||||
{
|
||||
info->reg.covariance = cv::Mat::eye(6,6,CV_64FC1)*9999.0; // Lost
|
||||
}
|
||||
}
|
||||
|
||||
UINFO("Odom update time = %fs lost=%s features=%d inliers=%d/%d variance:lin=%f, ang=%f local_map=%d local_scan_map=%d",
|
||||
|
||||
Reference in New Issue
Block a user