Lawn-mower comprising one or more motor-driven wheels and at least one cutting device, and further comprising elements for determining a distance value of an external mass to modify the behaviour of the lawn-mower in response to the distance.