Hello list,
Using apriltags (link text) worked fine until the last update of kinetic (around 12 december). Now there is a crash in opencv when doing "roslaunch apriltags usb_cam_apriltags.launch" as soon as a tag is being recognized. It seems that removing the assertion solves the problem. See the output below.
What can I do? Is there e.g. an easy way to replace the opencv3 code from ros-kinetic-opencv3 by using a (patched) version in /usr/local/bin so that ROS will use that?
Thanks in advance, Sietse
OpenCV Error: Assertion failed (mtype == type0 || (((((mtype) & ((512 - 1) << 3)) >> 3) + 1) == 1 && ((1 << type0) & fixedDepthMask) != 0)) in create, file /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/core/src/matrix.cpp, line 2542
terminate called after throwing an instance of 'cv::Exception'
what(): /tmp/binarydeb/ros-kinetic-opencv3-3.3.1/modules/core/src/matrix.cpp:2542: error: (-215) mtype == type0 || (((((mtype) & ((512 - 1) << 3)) >> 3) + 1) == 1 && ((1 << type0) & fixedDepthMask) != 0) in function create
[apriltags-1] process has died [pid 11062, exit code -6, cmd /home/p100213/ROS/ws2/devel/lib/apriltags/apriltags ~image:=/usb_cam/image_raw ~camera_info:=/usb_cam/camera_info ~marker_array:=/apriltags/marker_array ~detections:=/apriltags/detections __name:=apriltags __log:=/home/p100213/.ros/log/09d71dee-e56c-11e7-852c-002481150e15/apriltags-1.log].
Originally posted by Sietse on ROS Answers with karma: 168 on 2017-12-20
Post score: 1
Original comments
Comment by pinxian on 2017-12-25:
I have the same problem . Any idea?
Comment by dpoiesz on 2018-01-16:
I'm having a similar issue. Has anyone found a solution?
Comment by ashwinvk94 on 2018-01-19:
I am facing the same issue.