Skip to content

Commit 7c6439e

Browse files
committed
CameraStereoImages: removed warning telling to calibrate the camera when only pose calibration file is not found
1 parent 420feca commit 7c6439e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

corelib/src/CameraStereo.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1147,7 +1147,7 @@ bool CameraStereoImages::init(const std::string & calibrationFolder, const std::
11471147
// look for calibration files
11481148
if(!calibrationFolder.empty() && !cameraName.empty())
11491149
{
1150-
if(!stereoModel_.load(calibrationFolder, cameraName, false))
1150+
if(!stereoModel_.load(calibrationFolder, cameraName, false) && !stereoModel_.isValidForProjection())
11511151
{
11521152
UWARN("Missing calibration files for camera \"%s\" in \"%s\" folder, you should calibrate the camera!",
11531153
cameraName.c_str(), calibrationFolder.c_str());

0 commit comments

Comments
 (0)