restored range sensor in 2d model