Ask Your Question
0

Turtlebot depth image not displaying with Image_view with gazebo

asked 2013-09-18 18:17:08 -0600

Alkaros gravatar image

updated 2016-10-24 08:35:17 -0600

ngrennan gravatar image

Hey, I'm using the turtlebot_simulator package to simulate in gazebo.

Ubuntu 13.04 - 32bit

Ros Hydro

Turtlebot-apps v2.2.0

Gazebo v1.9

rosrun image_view image_view image:=/camera/depth/image_raw

Using the image_view on the depth image returns a blank gray window. Where as using the same command on the RGB stream works perfectly. Here's a screen shot of whats happening so save myself trying to explain it.

Screenshot

Any ideas why this would occur? The depth data is displayed correctly in rviz.


Rostopic Hz /camera/depth/image_raw
subscribed to [/camera/depth/image_raw]
average rate: 2.609
    min: 0.360s max: 0.420s std dev: 0.02625s window: 4
average rate: 2.765
    min: 0.330s max: 0.420s std dev: 0.03023s window: 7
average rate: 2.769
    min: 0.330s max: 0.420s std dev: 0.02514s window: 10

and

Rostopic info /camera/depth/image_raw
Type: sensor_msgs/Image

Publishers: 
 * /gazebo (<a href="http://Thesis-4740111:57881/">http://Thesis-4740111:57881/</a>)

Subscribers: None

After running those commands, the image_view started working on the depth. I guess magic will explain it.

Something must have changed over the last few days.

edit retag flag offensive close merge delete

Comments

Can you show the output of rostopic hz and info?

tfoote gravatar imagetfoote ( 2013-09-18 21:33:31 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted
1

answered 2013-09-19 14:24:06 -0600

Alkaros gravatar image

Just started working again for no obvious reason.

edit flag offensive delete link more

Comments

Thanksfor your info. But using code to deal with the image probelm is too complicated for me. I am learn to create web image viewer and windows image viewer using some manual tools which can be customized by users to help me with the image displaying program. Any good suggestion? Thanks in adcance.

arronlee gravatar imagearronlee ( 2013-10-20 16:57:02 -0600 )edit

Any hints on how you solved it? I cant see depth/image_raw nor depth_registered/image_raw using image_view. However, depth_registered/image_raw is shown in Rviz but I can't save images directly from there. Depth_image_raw is not publishing (checked with rostopic hz).

aguadopd gravatar imageaguadopd ( 2014-03-01 11:36:43 -0600 )edit
aguadopd gravatar imageaguadopd ( 2014-03-01 12:12:47 -0600 )edit

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

Stats

Asked: 2013-09-18 18:17:08 -0600

Seen: 1,936 times

Last updated: Sep 19 '13