The invention discloses a path planning
algorithm of a mowing
robot. The mowing
robot comprises an electronic control device, a camera
system and a GPS (
Global Position System) positioning module, wherein the electronic control device is used for setting a processor, the processor is used for setting the path planning
algorithm, and the path planning
algorithm comprises the following steps of: 1, obtaining the position data of a charging seat, starting off by starting a mowing motor, searching a
lawn natural boundary leftwards through the camera
system, then walking forwards along the
lawn natural boundary, and collecting forward images in real time; 2, obtaining the
lawn natural boundary and positioning piles from the images by the processor, and walking forwards along a non-natural boundary formed by the natural boundary and the positioning piles until walking back to the position of the charging seat; 3, starting to search a mowing boundary by the mowing
robot, starting to work along the mowing boundary, working towards the center of a lawn circle by circle; and 4, judging that the mowing task is finished when the mowing robot cannot find mowing boundary, shutting down the mowing motor, and walking back to the position of the charging seat.