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

[Solved] Turtlebot simulation. Depth image duplicated.

asked 2013-05-08 01:37:56 -0500

Bram Ridder gravatar image

updated 2013-05-09 02:12:18 -0500

Hi there,

I'm working with the turtlebot simulator using ROS Fuerte. I have a problem with visualising (and subsequently using) the depth image. The depth image I receive looks like this, http://postimg.org/image/q8lsehaon/. As you can see, the depth image looks correct, but is duplicated six times.

I've used my own conversion method (which produced the posted image) and rviz to display in the image. Both produce the same result, albeit rviz makes the depth image flicker. Has anyone has any experience with this or has an idea of how to solve this?

The depth image is published on /depth/image_raw. One oddity is that the topic /depth/camera_info does not produce any messages.

rostopic echo /depth/camera_info 
WARNING: no messages received and simulated time is active.
Is /clock being published?

The coloured images are published via the topic /camera/image_raw and /camera/camera_info publishes the camera info. Both work correctly and display the correct image.

Thanks for any help you can provide.

Kind regards,

Bram

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
2

answered 2013-05-08 15:28:46 -0500

I think you are facing the same issue as here: http://answers.ros.org/question/45659/openni-gazebo-plugin-stepsize-for-depth-images-bug/

IIRC, the patch linked at the end of the ticket was not backported to Fuerte. You can try building gazebo from source after applying the patch.

edit flag offensive delete link more

Comments

Thank you very much! That was it :).

Bram Ridder gravatar image Bram Ridder  ( 2013-05-09 02:11:29 -0500 )edit

Question Tools

Stats

Asked: 2013-05-08 01:37:56 -0500

Seen: 321 times

Last updated: May 09 '13