Using Husky with Kinect for GMAPPING
I am having the issue when I'm running gmapping. It says "Scan Matching Failed, using odometry". Not quite sure how to fix that. Searching online we found other people also experiencing similar problems. ( http://answers.ros.org/question/64308... ). The second answers there states that another person had the same issue with the kinect but when he used a laser it worked perfectly. Should we focus on user a laser instead of the kinect? One of the persons suggestions was to slowly move around but when we tried that, the map created was still incorrect. I was able to create a map of a small area but when I move the Husky around too much, the odom error increases and the map created is very inaccurate.
Another thing I have noticed is that when moving the robot around and displaying the transforms on rviz, the odom frame is significantly off from the rest of the transforms. Initially the odom frame starts at the same position as the other frames but as the robot moves around, the distance between odom and other frames increases. Pictures have been attached to show exactly what is happening. Is this supposed to happen because the odom data is so incorrect? Also when running gmapping, for some reason the rate at which the scans are registered is so slow. I updated the gmapping parameter responsible for the update rate however nothing changed.
Here is a video I took yesterday of the husky moving around. It gives a clear picture of the problem. I also attached a picture of the setup. Overall gmapping did a decent job at capturing the setup. However when we tried it in a bigger area, it struggled.
https://www.youtube.com/watch?v=HkTOk...
Since I can't attach files here. I have uploaded them:
http://i58.tinypic.com/105qoe8.png http://i60.tinypic.com/21kkwh4.png http://i57.tinypic.com/35byplj.png http://i62.tinypic.com/j589oy.jpg
Help is appreciated.