ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

navderm_2's profile - activity

2013-01-02 18:44:35 -0500 received badge  Taxonomist
2012-08-23 04:35:25 -0500 received badge  Famous Question (source)
2012-07-19 17:25:40 -0500 received badge  Notable Question (source)
2012-04-03 13:53:43 -0500 received badge  Popular Question (source)
2012-02-18 15:54:01 -0500 received badge  Nice Question (source)
2011-10-07 10:43:21 -0500 received badge  Student (source)
2011-10-05 11:22:55 -0500 asked a question Sending the image using cvbridge

I am getting in image from a webcam using cvbridge. What I want to be able to do is change a few things to that image, and finally publish it. When I try to create another cvImagePtr and change the image associated with it to finally publish it using

image_final.copyTo(cv_ptr_image_final->image); and then using "->toImageMsg()" to send the image,

It gives me an error saying /usr/include/boost/smart_ptr/shared_ptr.hpp:418: T* boost::shared_ptr< <template-parameter-1-1&gt; &gt;::operator-="">() const [with T = cv_bridge::CvImage]: Assertion `px != 0' failed. Aborted

What should I do to update the image in one of the cvBridge vairables so that I can publish it ?

Thx a lot