An automatic lawn mower, comprising: a lawn mower body (10), a fixed pile (20), a laser scanner (30), and a reflector (40). The laser scanner (30) is provided on the lawn mower body (10). The reflector (40) is provided on the fixed pile (20), or alternatively, the laser scanner (30) is provided on the fixed pile (20) and the reflector (40) is provided on the lawn mower body (10). Laser emitted by the laser scanner (30) can be reflected by the reflector (40) so that the laser scanner (30) can obtain the distance and angle between the lawn mower body (10) and the fixed pile (20). The distance and angle between the lawn mower body (10) and the fixed pile (20) are used for determining real-time coordinates of the lawn mower body (10). By applying the laser scanner (30) to the automatic lawn mower and using the distance measuring and angle measuring functions of the laser scanner (30), the coordinates of the automatic lawn mower can be determined in real time, so that a user can customize and plan the path of the