改动之前的gmapping代码,连接:https://github.com/ros-perception/slam_gmapping