From 7c6439e07513be515f5ab41dd0ec5c7afd332c5e Mon Sep 17 00:00:00 2001 From: matlabbe Date: Thu, 22 Mar 2018 12:40:16 -0400 Subject: [PATCH] CameraStereoImages: removed warning telling to calibrate the camera when only pose calibration file is not found --- corelib/src/CameraStereo.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/corelib/src/CameraStereo.cpp b/corelib/src/CameraStereo.cpp index 3bf5dd4a23..2f8e0a0b58 100644 --- a/corelib/src/CameraStereo.cpp +++ b/corelib/src/CameraStereo.cpp @@ -1147,7 +1147,7 @@ bool CameraStereoImages::init(const std::string & calibrationFolder, const std:: // look for calibration files if(!calibrationFolder.empty() && !cameraName.empty()) { - if(!stereoModel_.load(calibrationFolder, cameraName, false)) + if(!stereoModel_.load(calibrationFolder, cameraName, false) && !stereoModel_.isValidForProjection()) { UWARN("Missing calibration files for camera \"%s\" in \"%s\" folder, you should calibrate the camera!", cameraName.c_str(), calibrationFolder.c_str());