Ask Your Question

I cannot view the image published by usb_cam

asked 2015-07-10 04:26:09 -0500

Kishore Kumar gravatar image

In ran the usb_cam node with rosrun usb_cam usb_cam_node the images are published and i ensured that with rostopic echo /usb_cam/image_rawbut when i tried running rosrun image_view image_view image:=/usb_cam/image_raw to view the published images a blank (black) window pops up and image is not shown. how to fix it.

edit retag flag offensive close merge delete


I am using ROS Hydro on Ubuntu 12.04 and I don't have this problem with your commands. Have you any warning or error messages ? Is your camera connected to this port : /dev/video0 ?

F.Brosseau gravatar image F.Brosseau  ( 2015-07-10 05:56:27 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2015-07-10 09:33:35 -0500

updated 2015-07-10 09:34:19 -0500

I would recommend using rqt_image_view, I tried to execute this command as well but nothing is happening for me except the programm hangs in the console. I can not even terminate it with CTRL-C.

In rqt_image_view you can select the topic you want at runtime.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2015-07-10 04:26:09 -0500

Seen: 1,001 times

Last updated: Jul 10 '15