An electronic device (100, 210) comprising: a first set of sensors configured to generate motion information; a second set of sensors configured to receive information from multiple anchors positioned at fixed locations throughout an area; and a processor operably connected to the first set of sensors and the second set of sensors, the processor configured to: generate a path to drive the electronic device (100, 210) within the area, receive the motion information from the first set of sensors, generate ranging information based on the information that is received, via the second set of sensors, from the multiple anchors, while the electronic device (100, 210) is driven along the path, identify a location and heading direction within the area of the electronic device (100, 210) based on the motion information, modify the location and the heading direction of the electronic device based on the ranging information, and control the electronic device (100, 210) to drive within the area according to the path, based on the modified location and the modified heading direction of the electronic device (100, 210), characterized in that the processor is further configured to: identify a first location of the electronic device (100, 210) within the area based on the first set of sensors and the second set of sensors; while the first location is identified, identify a second location of the electronic device (100, 210) within the area based on the second set of sensors; compare a difference between a first attribute based on the first location and a second attribute based on the second location to a threshold, wherein the first and second attributes are location estimates; and determine whether to use the first location or the second location as a modified location based on the comparison. a first set of sensors configured to generate motion information; a second set of sensors configured to receive information from multiple anchors positioned at fixed locations throughout an area; and a processor operably connected to the first set of sensors and the second set of sensors, the processor configured to: generate a path to drive the electronic device (100, 210) within the area, receive the motion information from the first set of sensors, generate ranging information based on the information that is received, via the second set of sensors, from the multiple anchors, while the electronic device (100, 210) is driven along the path, identify a location and heading direction within the area of the electronic device (100, 210) based on the motion information, modify the location and the heading direction of the electronic device based on the ranging information, and control the electronic device (100, 210) to drive within the area according to the path, based on the modified location and the modified heading direction of the electronic device (100, 210), characterized in that the processor is further configured to: identify a first location of the electronic device (100, 210) within the area based on the first set of sensors and the second set of sensors; while the first location is identified, identify a second location of the electronic device (100, 210) within the area based on the second set of sensors; compare a difference between a first attribute based on the first location and a second attribute based on the second location to a threshold, wherein the first and second attributes are location estimates; and determine whether to use the first location or the second location as a modified location based on the comparison. generate a path to drive the electronic device (100, 210) within the area, receive the motion information from the first set of sensors, generate ranging information based on the information that is received, via the second set of sensors, from the multiple anchors, while the electronic device (100, 210) is driven along the path, identify a location and heading direction within the area of the electronic device (100, 210) based on the motion information, modify the location and the heading direction of the electronic device based on the ranging information, and control the electronic device (100, 210) to drive within the area according to the path, based on the modified location and the modified heading direction of the electronic device (100, 210), characterized in that the processor is further configured to: identify a first location of the electronic device (100, 210) within the area based on the first set of sensors and the second set of sensors; while the first location is identified, identify a second location of the electronic device (100, 210) within the area based on the second set of sensors; compare a difference between a first attribute based on the first location and a second attribute based on the second location to a threshold, wherein the first and second attributes are location estimates; and determine whether to use the first location or the second location as a modified location based on the comparison. identify a first location of the electronic device (100, 210) within the area based on the first set of sensors and the second set of sensors; while the first location is identified, identify a second location of the electronic device (100, 210) within the area based on the second set of sensors; compare a difference between a first attribute based on the first location and a second attribute based on the second location to a threshold, wherein the first and second attributes are location estimates; and determine whether to use the first location or the second location as a modified location based on the comparison.