[ros-users] error with opencv in image_transport tutorial

Patrick Mihelich mihelich at willowgarage.com
Fri Jun 10 23:29:00 UTC 2011


Hi Alexander,

This may mean that you aren't passing the correct path to your image file.

Please ask "help me" and "how do I" type questions on
http://answers.ros.orgin the future. That makes it much easier for
others to find answers to
common questions.

Cheers,
Patrick

On Fri, Jun 10, 2011 at 4:28 AM, Alexander Shavykin <alex at shavykin.ru>wrote:

> Hello.
> i have an Ubuntu 10.04 and Ros diamondback.
>
> I try to do image_transport tutorial (
> http://www.ros.org/wiki/image_transport/Tutorials)
>
> i run (as here
> http://www.ros.org/wiki/image_transport/Tutorials/ExaminingImagePublisherSubscriber
> )
>
>
> -------------------------------------------------------------------------------------------
> alexander at alexander-laptop:~/learning_image_transport$ rosrun
> learning_image_transport my_publisher home/alexander/image.jpg
>
> ---------------------------------------------------------------------------------------------
>
> And i got next error:
> -----------------------------------------------------
> OpenCV Error: Null pointer (NULL array pointer is passed) in cvGetMat, file
> /tmp/buildd/ros-diamondback-vision-opencv-1.4.3/debian/ros-diamondback-vision-opencv/opt/ros/diamondback/stacks/vision_opencv/opencv2/build/opencv-svn/modules/core/src/array.cpp,
> line 2380
> terminate called after throwing an instance of 'cv::Exception'
>   what():
> /tmp/buildd/ros-diamondback-vision-opencv-1.4.3/debian/ros-diamondback-vision-opencv/opt/ros/diamondback/stacks/vision_opencv/opencv2/build/opencv-svn/modules/core/src/array.cpp:2380:
> error: (-27) NULL array pointer is passed in function cvGetMat
>
> Aborted
> --------------------------------------------------------------------------
>
> How can i correct this situation?
>
> Thank you
>
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.ros.org/pipermail/ros-users/attachments/20110610/5e427a32/attachment-0002.html>


More information about the ros-users mailing list