merged master to PR

This commit is contained in:
matlabbe
2023-02-25 18:58:50 -08:00
5 changed files with 14 additions and 3 deletions
+1 -1
View File
@@ -32,7 +32,7 @@ include_directories(
# libraries
SET(Libraries
rtabmap
rtabmap::rtabmap
${catkin_LIBRARIES}
)
+10
View File
@@ -2099,6 +2099,16 @@ bool convertRGBDMsgs(
ROS_ERROR("Parameter %s is false but we cannot get TF between the two cameras!", rtabmap::Parameters::kRtabmapImagesAlreadyRectified().c_str());
return false;
}
else if(stereoTransform.isIdentity())
{
ROS_ERROR("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;
}
}
}