image_view shows gray image

asked 2018-05-02 22:32:20 -0500

frodyteen gravatar image

I am working with indigo ubuntu 14.04. I am following this to set up my axis camera on my robot, and this tutorial to take a picture. I am able to get a live stream when I load the ip address in the web browser.

I ran command 1:

rosrun axis_camera axis.py _hostname:=axis-00408ce6d9e9.local _password:=xx

then, in a new terminal, I ran command 2:

rosrun image_view image_view image:=/axis/image_raw _image_transport:=compressed

but I only got a gray image. I ran rqt_graph and this is what I got: https://drive.google.com/file/d/186kUaASzss6bIrqUWQ6f_a8To--GliJg/view?usp=sharing

I found this link and in the comment section, OP said he needed to publish images, so how would I publish image in my case?

edit retag flag offensive close merge delete