This post might be relevant to you: * https://answers.ros.org/question/286695 In order to address this, you could change [this line](https://github.com/ros-perception/slam_karto/blob/indigo-devel/src/slam_karto.cpp#L397): laser->SetMaximumAngle(scan->angle_max); to this: laser->SetMaximumAngle(scan->angle_min + (scan->ranges.size()-1)*scan->angle_increment);