gautam2410 / ua-ros-pkg

Automatically exported from code.google.com/p/ua-ros-pkg
0 stars 0 forks source link

object_tracker node - OpenCV error [Unrecognized or unsupported array type in function cvGetMat] #22

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
xinwei@ubuntu:~$ rosrun object_tracking object_tracker image:=usb_cam/image_raw 
camera_info:=usb_cam/camera_info

What is the expected output? What do you see instead?
libdc1394 error: Failed to initialize libdc1394
[ERROR] [1281954794.530358360]: Failed to call service get_bg_stats

OpenCV Error: Bad flag (parameter or structure field) (Unrecognized or 
unsupported array type) in cvGetMat, file 
/opt/ros/cturtle/stacks/vision_opencv/opencv2/build/opencv-svn/modules/core/src/
array.cpp, line 2476
terminate called after throwing an instance of 'cv::Exception'
  what():  /opt/ros/cturtle/stacks/vision_opencv/opencv2/build/opencv-svn/modules/core/src/array.cpp:2476: error: (-206) Unrecognized or unsupported array type in function cvGetMat

/opt/ros/cturtle/ros/bin/rosrun: line 35: 20070 Aborted                 
$exepath "$@"

What version of the product are you using? On what operating system?
1. ROS (cturtle) with openCV2
2. usb_cam_node of usb_cam package [http://www.ros.org/wiki/usb_cam]
3. object_tracker (node)  from object_tracking package

Please provide any additional information below.
I am try to use the object_tracker(node) subscribe to the topic 
*usb_cam/image_raw[type:sensor_msgs/image] of usb_cam(node).

Original issue reported on code.google.com by TanXin...@gmail.com on 16 Aug 2010 at 10:56

GoogleCodeExporter commented 9 years ago
Thanks! Solved the problem by running the background_filters(package) 
background_averager.

Original comment by TanXin...@gmail.com on 16 Aug 2010 at 4:13

GoogleCodeExporter commented 9 years ago
[deleted comment]
GoogleCodeExporter commented 9 years ago
Ah, good it's working for you.

Original comment by areb...@gmail.com on 18 Aug 2010 at 7:41