Help debugging modified visp_auto_tracker [closed]
So I can track QR codes, but my code keeps crashing, I get the following error:
OpenCV Error: Assertion failed (0 <= roi.x && 0 <= roi.width && roi.x + roi.width <= m.cols && 0 <= roi.y && 0 <= roi.height && roi.y + roi.height <= m.rows) in Mat, file /tmp/buildd/ros-hydro-opencv2-2.4.6-3precise-20140130-1852/modules/core/src/matrix.cpp, line 323
visp_auto_tracker: /usr/include/boost/msm/front/state_machine_def.hpp:210: void boost::msm::front::state_machine_def<Derived, BaseState>::exception_caught(const Event&, FSM&, std::exception&) [with FSM = boost::msm::back::state_machine<tracking::Tracker_>, Event = tracking::input_ready, Derived = tracking::Tracker_, BaseState = boost::msm::front::default_base_state]: Assertion `false' failed.
[visp_auto_tracker-1] process has died [pid 4657, exit code -6, cmd /home/parbot/ros_workspace/src/vision_visp/visp_auto_tracker/bin/visp_auto_tracker /visp_auto_tracker/camera_info:=/primesense1/rgb/camera_info /visp_auto_tracker/image_raw:=/primesense1/rgb/image_raw /visp_auto_tracker/camera_info_2:=/primesense2/rgb/camera_info /visp_auto_tracker/image_raw_2:=/primesense2/rgb/image_raw /visp_auto_tracker/camera_info_3:=/primesense3/rgb/camera_info /visp_auto_tracker/image_raw_3:=/primesense3/rgb/image_raw __name:=visp_auto_tracker __log:=/home/parbot/.ros/log/bd8cce64-9a53-11e3-9897-b9a0e50b0f8d/visp_auto_tracker-1.log].
log file: /home/parbot/.ros/log/bd8cce64-9a53-11e3-9897-b9a0e50b0f8d/visp_auto_tracker-1*.log
Does anyone know why?
I am getting the same problem after changing camera's format to Format7. Did you find how to overcome this problem?