How the location of the range sensor affects EKF-based localization