Ask Your Question
0

Mapping with Kinect sensor

asked 2014-08-11 04:24:34 -0600

sumanth gravatar image

I am working on a robot, which finally should move to the specified location in the map autonomously. (For which I am planning to use Navigation stack).

For which I want to map the environment. I have a kinect sensor available, so which mapping I should use so that I can generate a map (2D or 3D), which can be later fed to the navigation stack....??

I can fetch the odo ticks from the micro controller and give for the mapping stack. As the kinect is a fixed connection to the robot, I can publish a static transform from kinect to the base link.

Are these sufficient to use the mapping stack, but the question is which mapping stack to go with..? and any examples suggesting the use of the mapping stack will be great full to start with.

Many thanks in advance.

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
2

answered 2014-08-11 05:17:54 -0600

bvbdort gravatar image

For the task of reaching goal 2d map is sufficient.

First generate the map by moving robot manually . Use gmapping with 2d laser and odometry. (use depthimage_to_laserscan to generate laser scan from kinect data)

When you have map use amcl for localisation. This tutorial of Autonomous Navigation of a Known Map with TurtleBot is helpful.

edit flag offensive delete link more

Comments

Thanks, but then where the 3D map is used..?

sumanth gravatar imagesumanth ( 2014-08-11 06:54:24 -0600 )edit

check the videos here http://wiki.ros.org/3d_navigation . Of course you can use 3d maps for navigation. try rgdb slam but i never get chance to use 3d navigation.

bvbdort gravatar imagebvbdort ( 2014-08-11 08:03:19 -0600 )edit

but does navigation stack takes the map from the gmapping.?

sumanth gravatar imagesumanth ( 2014-08-12 01:59:25 -0600 )edit

Are there any exampels/tutorial to generate the map by moving robot manually . Use gmapping with 2d laser and odometry..?

sumanth gravatar imagesumanth ( 2014-08-12 02:14:11 -0600 )edit

first you need to build the map using gmapping, then use map for navigation. Which robot are you using ? and how you are driving it ß

bvbdort gravatar imagebvbdort ( 2014-08-12 02:15:13 -0600 )edit

I am using my custom built robot, its a differential drive mobile robot, plan to drive the robot for mapping is using commands from laptop (similar to teleop on turtlebot).

sumanth gravatar imagesumanth ( 2014-08-12 02:27:47 -0600 )edit

start with building map by driving robot

bvbdort gravatar imagebvbdort ( 2014-08-12 03:21:06 -0600 )edit

@bvbdort, I tried mappin with the gmapping but was not sucessful. Steps followed:

  1. open the kinect with openini using "roslaunch openni_launch openni.launch".
  2. pointcloud to the laser scan using "rosrun depthimage_to_laserscan depthimage_to_laserscan image:=/camera/depth/image_raw"
sumanth gravatar imagesumanth ( 2014-08-13 02:43:56 -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: 2014-08-11 04:24:34 -0600

Seen: 4,499 times

Last updated: Aug 11 '14