fixed CameraThread compilation error with OpenCV<3, added yaml-cpp dependency to travis

This commit is contained in:
matlabbe
2018-02-02 08:35:06 -05:00
parent 4991d3dbab
commit 61199eff9c
2 changed files with 2 additions and 1 deletions

View File

@@ -274,7 +274,7 @@ void CameraThread::postUpdate(SensorData * dataPtr, CameraInfo * info) const
if(_stereoExposureCompensation && !data.imageRaw().empty() && !data.rightRaw().empty())
{
#if CV_MAJOR_VERSION < 3
UWARN("Stereo exposure compensation not implemented for OpenCV version under 3.")
UWARN("Stereo exposure compensation not implemented for OpenCV version under 3.");
#else
UDEBUG("");
UTimer timer;