mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
fixed CameraThread compilation error with OpenCV<3, added yaml-cpp dependency to travis
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user