To provide a mower capable of automatically traveling and accurately distinguishing a ground surface which has been mowed and grasses before being mowed.SOLUTION: A mower comprises: a travel machine body 1 for performing mowing travel; a travel control part for controlling the travel machine body; a distance sensor 10 for scanning a distance between the travel machine body 1 and an object positioned in a machine body lateral direction over both of left and right directions of the machine body; a decode control part for generating ground height data over both of left and right sides of the machine body on the basis of the distance detected by scanning of the distance sensor 10 and scanning angle; an object detection part for generating a ground surface reference line identified as a line of a ground surface which has been mowed, and a grass reference line identified as a line of grasses before being mowed, by an approximate line based on the ground height data; a target distance calculation part for calculating a target distance on the basis of the distance between the grass reference line and the travel machine body; and a travel instruction part for outputting an instruction signal so that the distance between the grass reference line and the travel machine body matches the target distance.SELECTED DRAWING: Figure 5【課題】刈取前の草と刈取後の地面とを精度良く判別して自動走行が可能な草刈機を提供する。【解決手段】草刈走行を行う走行機体1と、走行機体を制御する走行制御部と、走行機体1と、機体左右方向に位置する物体と、の距離を、機体左右両方に亘って走査する距離センサ10と、距離センサ10の走査によって検出された距離及び走査角度に基づいて、機体左右両方に亘る対地高さデータを生成するデコード制御部と、対地高さデータに基づく近似線によって、刈取後の地面のラインとして識別される地面基準線と、刈取前の草のラインとして識別される草基準線と、を生成する物体検出部と、草基準線と走行機体との距離に基づいて目標距離を算出する目標距離算出部と、草基準線と走行機体との距離が、目標距離と一致するように指示信号を出力する走行指示部と、が備えられている。【選択図】図5