A method for treating floor surfaces via a floor treatment machine including a housing, two drive wheels, at least one support wheel, a drive device, a controller, at least one obstacle-recognizing device and a floor treatment device, configured to ensure that the floor is treatable in a treatment area including a predetermined location relative to the wheels, and including a treatment width perpendicular to the driving direction, the method, in a treatment mode, comprising:
- sweeping over a surface using the floor treatment machine by groups of route sections, which run next to one another, wherein position and orientation of the floor treatment machine in the floor coordinate system are provided by a position detection device,
- the method, in the treatment mode, further comprising
- determining a treatment direction with a forwards and backwards orientation and selecting a current orientation of the treatment direction from the forwards and backwards orientation,
- determining driving lines, spaced apart perpendicular to the treatment direction, wherein the distances are chosen such that, when driving in opposite directions on driving lines, which are located next to one another, the area between the driving lines is completely treated by the treatment area,
- driving route segments on the driving lines from starting points to end points each in one driving direction, wherein the driving directions on adjacent driving lines are oriented in opposite direction,
- determining the end points in that driving cannot be continued on the respective driving line due to an obstacle, detected by an obstacle recognition device,
- storing the starting point and the end point of the route segment, which was followed, in a route segment storage and for the end point, at least one of the states “completely treated” or “incompletely treated” and at least in the case of “incompletely treated” also a direction information is stored, wherein it becomes clear from the direction information, in which orientation of the treatment direction incompletely treated areas are present when starting at the corresponding end point,
- triggering a contour-following movement at the end point on a current driving line for finding a new starting point by the floor treatment machine starting in the current orientation of the treatment direction and following the obstacle until it encounters the current or a next driving line, wherein
- when encountering the current driving line, which was followed prior to the contour-following movement, on a route segment, which, according to the route segment storage, has not yet been followed a new starting point is determined at that location and the driving direction of this driving line is chosen,
- when encountering the next driving line on a route segment, which, according to the route segment storage, has not yet been followed, a new starting point is determined at that location and the driving direction of this adjacent driving line is chosen, and
- when encountering a driving line on a route segment, which, according to the route segment storage, has already been followed, the end of a group of route segments, which run next to one another, is determined, wherein the controller then looks for an end point comprising the state “incompletely treated” in the route segment storage and approaches with a position search movement, so as to tackle a new group of route sections, which run next to one another, starting at this end point with the current orientation of the treatment direction being set according to the direction information stored for this end point, until no end point comprising the state “incompletely treated” is present any longer.