Ask Your Question

Image overlapped with Kinect [closed]

asked 2012-07-06 00:15:56 -0500

g.aterido gravatar image

updated 2016-10-24 09:09:58 -0500

ngrennan gravatar image

Hi, I'm new in ROS and this is my first question, so I don't know if I'm going to ask a silly question. I've looked a lot of tutorials and other asked questions and thanks to that I've solved a lot of my doubts, but I'm still having problems.

My purpose: obtain a point cloud from a Kinect mounted in a robot. So far, I have mounted the camera based on the one of the PR2. Using rosbag, I've recorded the data from the rgb and the depth topics. Then, using rxbag, I can visualize perfectly the rgb's images, but when I try to do the same with the depth, I got an overlapped and displaced image. I don't know how to explain it better. Here you have what I get:

And here's what I get with the rgb's topic:

I don't know if I'm doing something wrong or if whats I see is correct.

I'm using Fuerte in Ubuntu 12.04

Can anyone help? Thanks in advance!

edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by g.aterido
close date 2012-11-28 21:51:20

2 Answers

Sort by ยป oldest newest most voted

answered 2012-07-06 01:50:21 -0500

dornhege gravatar image

The gray-wrapping effect is OK as it tries to display depth data as image data. The repeat seems odd to me, but is maybe an effect of the simulator or the display doesn't like depth-images?

You should try to visualize the point cloud in rviz. If that is correct the rest should only be display errors. Possibly the image display in rviz is also displaying the depth-image without repeat.

edit flag offensive delete link more

answered 2012-07-08 23:17:09 -0500

g.aterido gravatar image

I've used the Point Cloud Library to save the Point Cloud to a file and all seems correct (I can distinguish a simple box in all the points). I think it's what you said, dornhege: is an effect of the simulator. Anyway, I will try to visualize it with rviz. I had already tried it but it gave me a warning, and got no image. But I must be doing something wrong, it's just that I don't know how to use rviz

edit flag offensive delete link more

Question Tools


Asked: 2012-07-06 00:15:56 -0500

Seen: 232 times

Last updated: Jul 08 '12