ar-track-alvar: add missing include

* fixes:
  ar-track-alvar/0.6.1-r0/ar_track_alvar-0.6.1/src/Marker.cpp: In member function 'virtual void alvar::MarkerData::VisualizeMarkerContent(IplImage*, alvar::Camera*, double*, double*) const':
  ar-track-alvar/0.6.1-r0/ar_track_alvar-0.6.1/src/Marker.cpp:123:15: error: 'CV_RGB' was not declared in this scope
  CvScalar rgb=CV_RGB(255,255,0);
               ^~~~~~

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
This commit is contained in:
Martin Jansa 2019-07-03 16:22:47 +00:00
parent f62f400217
commit 7708632e64
2 changed files with 33 additions and 0 deletions

View File

@ -0,0 +1,31 @@
add missing include
* CV_RGB is defined in opencv2/imgproc.hpp
* fixes:
ar-track-alvar/0.6.1-r0/ar_track_alvar-0.6.1/src/Marker.cpp: In member function 'virtual void alvar::MarkerData::VisualizeMarkerContent(IplImage*, alvar::Camera*, double*, double*) const':
ar-track-alvar/0.6.1-r0/ar_track_alvar-0.6.1/src/Marker.cpp:123:15: error: 'CV_RGB' was not declared in this scope
CvScalar rgb=CV_RGB(255,255,0);
^~~~~~
Upstream-Status: Pending
--- a/include/ar_track_alvar/Draw.h 2019-07-03 16:28:16.540970593 +0000
+++ b/include/ar_track_alvar/Draw.h 2019-07-03 16:19:45.113388531 +0000
@@ -36,6 +36,7 @@
#include "Camera.h"
#include "Line.h"
#include <sstream>
+#include <opencv2/imgproc.hpp>
namespace alvar {
--- a/include/ar_track_alvar/Marker.h 2019-07-03 16:24:35.995976014 +0000
+++ b/include/ar_track_alvar/Marker.h 2019-07-03 16:24:52.396347425 +0000
@@ -41,6 +41,7 @@
#include <vector>
#include "filter/kinect_filtering.h"
#include <Eigen/StdVector>
+#include <opencv2/imgproc.hpp>
namespace alvar {

View File

@ -12,3 +12,5 @@ SRC_URI[sha256sum] = "c34ff4358fb167edccc4357d74425e3370691f04be1f8971f5258aa25d
S = "${WORKDIR}/${ROS_SP}" S = "${WORKDIR}/${ROS_SP}"
inherit catkin inherit catkin
SRC_URI += "file://fix.missing.include.patch"