A method for automatically operating a robot, attached to a lawnmower or other
unmanned machine, within an enclosed area is disclosed. The method includes the
steps of: 1) providing the following elements: a proximity sensor positioned on
the robot, a boundary along the perimeter of the working area and along the perimeter
of each area enclosed in the working area in which the robot should not operate,
the boundaries being detectable by the proximity sensor, a processing unit connected
to the proximity sensor and receiving an input therefrom, a navigation unit on
the robot to determine the coordinates of the robot relative to an arbitrary origin,
a direction finder, and a memory to store values generated by the processing unit;
and 2) causing the robot to move along each of the boundaries provided around or
within the working area, to detect the boundaries and to memorize their shape,
and to store in the memory values representative of the coordinates of the boundaries,
thereby to generate a basic map of the working area. When the robot is to operate
within the area, the method includes the steps of: (a) causing the robot to start
from a starting point having known coordinates within the basic map of the working
area; (b) continuously determining the coordinates of the robot by analyzing data
obtained from the navigation unit and by detecting the vicinity of a boundary;
and (c) correcting the actual position of the robot on the basic map by comparing
the calculated and the actual coordinates of each detected boundary.