Hi Alexander,<br><br>This may mean that you aren't passing the correct path to your image file.<br><br>Please ask "help me" and "how do I" type questions on <a href="http://answers.ros.org">http://answers.ros.org</a> in the future. That makes it much easier for others to find answers to common questions.<br>
<br>Cheers,<br>Patrick<br><br><div class="gmail_quote">On Fri, Jun 10, 2011 at 4:28 AM, Alexander Shavykin <span dir="ltr"><<a href="mailto:alex@shavykin.ru">alex@shavykin.ru</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">
Hello.<br>i have an Ubuntu 10.04 and Ros diamondback.<br><br>I try to do image_transport tutorial (<a href="http://www.ros.org/wiki/image_transport/Tutorials" target="_blank">http://www.ros.org/wiki/image_transport/Tutorials</a>)<br>
<br>i run (as here <a href="http://www.ros.org/wiki/image_transport/Tutorials/ExaminingImagePublisherSubscriber" target="_blank">http://www.ros.org/wiki/image_transport/Tutorials/ExaminingImagePublisherSubscriber</a>)<br>

<br>-------------------------------------------------------------------------------------------<br>alexander@alexander-laptop:~/learning_image_transport$ rosrun learning_image_transport my_publisher home/alexander/image.jpg <br>

---------------------------------------------------------------------------------------------<br><br>And i got next error:<br>-----------------------------------------------------<br>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<br>

terminate called after throwing an instance of 'cv::Exception'<br>  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<br>

<br>Aborted<br>--------------------------------------------------------------------------<br><br>How can i correct this situation?<br><br>Thank you<br>
<br>_______________________________________________<br>
ros-users mailing list<br>
<a href="mailto:ros-users@code.ros.org">ros-users@code.ros.org</a><br>
<a href="https://code.ros.org/mailman/listinfo/ros-users" target="_blank">https://code.ros.org/mailman/listinfo/ros-users</a><br>
<br></blockquote></div><br>