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

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

Comments

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

I'm in the same problem, could you tell me the way to fix this, pls!

quyetbui gravatar image quyetbui  ( 2021-08-04 01:21:06 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

Question Tools

1 follower

Stats

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

Seen: 1,464 times

Last updated: Jul 10 '15