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

Performance of Algorithms doing slam with kinect [closed]

asked 2012-12-07 09:07:40 -0500

Miguel Riem de Oliveira gravatar image

Hello everyone

I wanted to ask a question about slam and kinect.

I will first describe my problem and then talk about some possible problems.

If anyone has some insight on whether I might be doing something wrong please give me a hint.

I have been trying to benchmark this kind of application and so far I have encountered these two packages



I was able to test them both running live with 2 different kinects, in different indoor environments.

From my tests, it seems that the slam does not work very good.

In one case, using rgbdslam, one time I was with the kinect facing a wall (with texture), the first point cloud was drawn in a plane, the second point cloud (from the same wall) was drawn in a different plane, oblique to the first.

Another case, using modular_cloud matcher, I had the kinect standing still looking at a scene, and the output transformation said that the kinect was moving about 5 centimeters everywhere.

In sum, for some reason I don't seem to be able to get the kind of performance that both these packages show in their demo videos. The performance I get from these packages is considerably lower than for example the performance shown in both these videos.


Possible reasons for this, my thoughts were:

  1. Problem with the kinect (shouldn't be, since I tried out two of them)

  2. Calibration of the kinect (I thought of this and I calibrated both the rgb and ir cameras using the instructioon from There was no significant change in the performance)

  3. This is my last guess. My computer is very slow (it actually is a good laptop, 2.5 quadcore, about 3 year old).

My guess is that since these slam algorithms try to find correspondences to infer the transformation, perhaps because my computer is slow, the frames they compare end up having a small overlap. Could this be a problem? To try to solve this, I have tried to move the kinect around very slowly, still with no better results.

If anyone can give me some help I would appreciate.



edit retag flag offensive reopen merge delete

Closed for the following reason the question is answered, right answer was accepted by Miguel Riem de Oliveira
close date 2013-05-14 11:40:25

2 Answers

Sort by ยป oldest newest most voted

answered 2012-12-08 00:35:20 -0500

dornhege gravatar image

Yes, it could be your computer. You can easily test this: record a bag file and play is back on a very much lower rate. SLAM in 3D does need some power.

It could also be that your problem is very hard. SLAM needs some features to match where it is. A flat wall doesn't have many. Also an error of 5cm doesn't seem much to me. Maybe your expectations are different from what the algorithms can deliver.

It might be a good idea to upload an image of the environment and/or a specific bag file that you want solved. Maybe someone has time to look at that. With the information you have given it is a bit hard to guess what is the actual problem.

edit flag offensive delete link more


Thanks dornhege. I will make a bag recording or a video and upload it.

Miguel Riem de Oliveira gravatar image Miguel Riem de Oliveira  ( 2012-12-08 03:11:26 -0500 )edit

answered 2013-02-12 10:47:41 -0500

You can also check out ccny_rgbd, which provides tools for fast visual odometry with RGB-D cameras.

edit flag offensive delete link more

Question Tools



Asked: 2012-12-07 09:07:40 -0500

Seen: 535 times

Last updated: Feb 12 '13