mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-04 00:37:46 +08:00
merged master to PR
This commit is contained in:
@@ -2095,6 +2095,16 @@ bool convertRGBDMsgs(
|
|||||||
UERROR("Parameter %s is false but we cannot get TF between the two cameras!", rtabmap::Parameters::kRtabmapImagesAlreadyRectified().c_str());
|
UERROR("Parameter %s is false but we cannot get TF between the two cameras!", rtabmap::Parameters::kRtabmapImagesAlreadyRectified().c_str());
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
else if(stereoTransform.isIdentity())
|
||||||
|
{
|
||||||
|
UERROR("Parameter %s is false but we cannot get a valid TF between the two cameras! "
|
||||||
|
"Identity transform returned between left and right cameras. Verify that if TF between "
|
||||||
|
"the cameras is valid: \"rosrun tf tf_echo %s %s\".",
|
||||||
|
rtabmap::Parameters::kRtabmapImagesAlreadyRectified().c_str(),
|
||||||
|
depthCameraInfoMsgs[i].header.frame_id.c_str(),
|
||||||
|
cameraInfoMsgs[i].header.frame_id.c_str());
|
||||||
|
return false;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user