[ros-users] cv_bridge tutorial

Homer Manalo homer.manalo at roboteknik.com
Tue Dec 21 09:58:29 UTC 2010


Yes I can see it. I'm actually using this line:
rosrun image_view image_view image:=/gscam/image_raw

It's like there is no communication between the camera and the
image_converter.

Here are some rostopic outputs:
Published topics:
 * /gscam/camera_info [sensor_msgs/CameraInfo] 1 publisher
 * /gscam/image_raw [sensor_msgs/Image] 1 publisher
 * /rosout [roslib/Log] 3 publishers
 * /rosout_agg [roslib/Log] 1 publisher
 * /image_topic_2 [sensor_msgs/Image] 1 publisher

Subscribed topics:
 * /image_topic [sensor_msgs/Image] 1 subscriber
 * /gscam/image_raw [sensor_msgs/Image] 1 subscriber
 * /rosout [roslib/Log] 1 subscriber
homermanalo at Macmini-Linux:~/ros/stacks/pkg_test0$ rostopic info
/image_topic_2
Type: sensor_msgs/Image

Publishers:
 * /image_converter (http://Macmini-Linux:36632/)

Subscribers: None


homermanalo at Macmini-Linux:~/ros/stacks/pkg_test0$ rostopic info /image_topic
Type: sensor_msgs/Image

Publishers: None

Subscribers:
 * /image_converter (http://Macmini-Linux:36632/)


homermanalo at Macmini-Linux:~/ros/stacks/pkg_test0$ rostopic info
/gscam/image_rawType: sensor_msgs/Image

Publishers:
 * /gscam_publisher (http://Macmini-Linux:60675/)

Subscribers:
 * /image_view_1292924423744539054 (http://Macmini-Linux:51945/)

thanks

On Tue, Dec 21, 2010 at 5:26 PM, Billy Okal <b.okal at jacobs-university.de>wrote:

> Hi Manalo,
>
> you can see the mages using image_view
>
> image_view image:=<image topic> [image transport type]
>
> More info here
>
> http://www.ros.org/wiki/image_view
>
> billy
>
>
> On 21 December 2010 08:32, Homer Manalo <homer.manalo at roboteknik.com>wrote:
>
>> I want to start opencv with this tutorial<http://www.ros.org/wiki/cv_bridge/Tutorials/UsingCvBridgeToConvertBetweenROSImagesAndOpenCVImages>but it doesn't work for me.
>>
>> I created a new package then added the cpp file to the src folder then
>> added this line: rosbuild_add_executable(pkg_test0_imgToCv
>> src/pkg_test0_imgToCv.cpp) to the CMakeLists.txt file. I already added the
>> dependencies to the manifest file. Then make.
>>
>> When I run it nothing happens, I expect the highgui would appear. I can
>> confirm that my camera(gscam) is streaming images. I can see that the topics
>> listed are active but using echo on the image_topic and image_topic_2 prints
>> out nothing. Using rxgraph, there are only the gstreamer_publisher node and
>> image_converter node connected to rosout node. Did I miss something? How do
>> I get this thing to work?
>>
>> thanks
>>
>> _______________________________________________
>> ros-users mailing list
>> ros-users at code.ros.org
>> https://code.ros.org/mailman/listinfo/ros-users
>>
>>
>
>
> --
> Billy Okal
> Jacobs University Bremen
>
> ----------------------------------------------------------------------------------------------------------------------
> "Science without Religion is Lame and Religion without Science is Blind",
> Albert Einstein
>
> _______________________________________________
> 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/20101221/36cf2b24/attachment-0003.html>


More information about the ros-users mailing list