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

How to create a 2D map with kinect sensor?

asked 2016-06-20 08:29:06 -0600

ros_beginner101 gravatar image

I am a beginner in ROS. I don't have a laser so I have been trying to create map with kinect sensor. Unfortunately I haven't been able to figure out where I am going wrong. I tried using depth_image to laser_scan but to no avail, it is not converting the image to scan. I am using freenect. I can see pointcloud data from the kinect in rviz in real time and I am stuck there. Can anyone help me out with a tutorial or some points I have to follow step by step?

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2016-06-22 16:21:46 -0600

ghaith gravatar image

hi I think navigation stack tutorial will help you to understand what you need http://wiki.ros.org/navigation and remember you need odometery data you can git it from encoder and imu this tutorial must help you to understand what you need to do.

edit flag offensive delete link more

Comments

Thanks ghaith, I am reading navigation stack. Hope you don't mind if I get back to you if I stuck again.

ros_beginner101 gravatar image ros_beginner101  ( 2016-06-29 02:26:54 -0600 )edit

no problem

ghaith gravatar image ghaith  ( 2016-06-29 10:16:23 -0600 )edit
0

answered 2016-06-22 17:50:47 -0600

Fabiobreo gravatar image

Are you using a kinect v2? I use pointcloud_to_laserscan package, and I have to transform the frame from base_link to kinect2_head_ir_optical_frame to make it work. I also need to filter the pointcloud to remove noise.

edit flag offensive delete link more

Comments

Hey Fabiobreo, sorry for the late reply. I am using xbox 360.

ros_beginner101 gravatar image ros_beginner101  ( 2016-06-29 02:25:15 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2016-06-20 08:29:06 -0600

Seen: 1,116 times

Last updated: Jun 22 '16