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

Navigation with a laser and a kinect

asked 2013-02-11 23:31:17 -0500

g.aterido gravatar image

updated 2016-10-24 08:34:33 -0500

ngrennan gravatar image


I'm trying to navigate with a differential robot using two sensors, a laser and a kinect. First I'm going to descrive what I attempt and then I will explain the problems I'm having.

The laser is used for detecting far obstacles and to get the robot localized on a map by AMCl. The kinect is used for detecting near obtacles that the laser doesn't see (e.g. obstacles that are under the laser's vision).

The main problem is that the Kinect has not the same range and the same field of view than the laser. The laser has a range of 30m and 270º, and the Kinect about 5m and 70º. That makes that when the Kinect sees an obstacle that the laser doesn't, and then the obstacle comes out of the kinect's field of view, the laser clears it. That makes the kinect completely useless.

I've tried to set the parameter clearing of the laser to false, but that's not a good solution because sometimes, when the robot is a little tilted, the laser detects the floor and marks it as an obstacle.

I've also tried to use the laser only for introducing obstacles in the local costamp, and the kinect for both local and global costmap. That's a better solution but has one problem: when the laser detects an obstacle that the kinect doesn't, if the obstacle is in the middle of the path calculated, the robot try to clean it with the recovery behaviours and then stops saying that is unable to plan a path.

How can I solve all this problems? Or how can I use the laser and the kinect for navigation at the same time?

I'm on Ubuntu 12.04 and ROS Fuerte. Thank's in advance ;)

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted

answered 2013-02-12 00:25:49 -0500

For using kinect and laser together u need to use "scan" readings from both of them simultaneously and build one map using that, once u do that navigation should not be a problem. Go through this question for better understanding for ur problem.

edit flag offensive delete link more

Question Tools


Asked: 2013-02-11 23:31:17 -0500

Seen: 1,417 times

Last updated: Feb 12 '13