Skip to content

Commit

Permalink
CameraStereoImages: removed warning telling to calibrate the camera w…
Browse files Browse the repository at this point in the history
…hen only pose calibration file is not found
  • Loading branch information
matlabbe committed Mar 22, 2018
1 parent 420feca commit 7c6439e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion corelib/src/CameraStereo.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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());
Expand Down

0 comments on commit 7c6439e

Please sign in to comment.