[ros-users] A published image does not appear.

Bill Morris morris at ee.ccny.cuny.edu
Mon Sep 20 03:38:23 UTC 2010


My suggestions are to try connecting to the raw image topics directly
with image_view. Also I suggest looking at the image headers, if the
image timestamps don't match the calibration timestamps exactly
image_proc does not work.

On Sun, 2010-09-19 at 20:22 -0700, Yucong Lin wrote:
> 
> 
> Hello,
>  I tried to write a small package to subscribe to stereo images of
> bumblebee2 and publish them with my own name.
>    The source code of my source file,  (which uses stereo_image_proc)
> is attached.
>     
>    
> I ran this package like this from the prompt:
> 
> shell$ roslaunch bumblebee2 Bumblebee2.launch
> 
> shell$ ROS_NAMESPACE=bumblebee2 rosrun stereo_image_proc
> stereo_image_proc
> 
> shell$ rosrun trial1 trial1
> 
> (from 'rostopic list -v' i can see the topic "/Yucong/left/image_rect"
> is published).
> 
> However, after using ' rosrun image_view image_view
> image:=/Yucong/left/image_rect '
> 
> I see only a window without an image in it.
> 
> How can I see the image? Any help would be appreciated, especially
> since I am pretty new to the ROS environment.
> 
> Thanks,
> 
> -- 
> Yucong Lin
> Graduate student
> School of Earth and Space Exploration
> Arizona State University
> PSH 470
> 
> 
> 
> 
> 
> -- 
> Yucong Lin
> Graduate student
> School of Earth and Space Exploration
> Arizona State University
> PSH 470
> 
> _______________________________________________
> ros-users mailing list
> ros-users at code.ros.org
> https://code.ros.org/mailman/listinfo/ros-users





More information about the ros-users mailing list