how to create a 2D map from laser scan data
Hi all, I'm new to ROS. I'm using ROS INDIGO and kinect for my project.I want to create a map from the laser scan data without having odometry data .I converted the depth image to laser scan data.Then how can I create a map using Gmapping for the hand held kinect using this laser scan data?
edited question.
i used hectorslam and there is some problem with tf.
using rosrun tf view_frames
i got
and this is my laaunch file for depthimage_to_laserscan kinect.launch
<launch>
<node name="depthimage_to_laserscan" pkg="depthimage_to_laserscan" type="depthimage_to_laserscan">
<remap from="image" to="/camera/depth_registered/image_raw"/>
</node>
</launch>