opencv2/aruco with ROS opencv
Hello,
I want to use opencv2/aruco.hpp with ROS that is installed with opencv3. This is for usage with function cv::aruco::estimatePoseSingleMarkers . Is it also available on ROS opencv, or do I need opencv 3 for this?
I tried to install ros-jade-opencv3 but got stuck with multiple errors due to library conflict (saying it could not find string::deallocate() and so on). How can I manage this? What shall I do?
Here are my includes:
#include <iostream>
#include <ros/ros.h>
#include <chrono>
#include <aruco/aruco.h>
#include <aruco/cvdrawingutils.h>
#include <image_transport/image_transport.h>
#include <cv_bridge/cv_bridge.h>
#include <sensor_msgs/image_encodings.h>
#include <opencv2/imgproc/imgproc.hpp>
#include <opencv2/highgui/highgui.hpp>
#include <opencv2/core/core.hpp>
Best regards. Pedro Roque