An autonomous work machine having a camera for capturing images of the external environment, said autonomous work machine comprising: an acquisition unit that, on the basis of captured image date/time information in the autonomous work machine, date/time information and sun orientation information, acquires sun information indicating the position or orientation of the sun at which backlighting would occur while traveling in a work area; and a control unit that, on the basis of the sun information acquired by the acquisition unit, sets an autonomous work machine trajectory so as to avoid backlighting.L'invention concerne une machine de travail autonome ayant une caméra pour capturer des images de l'environnement externe, ladite machine de travail autonome comprenant : une unité d'acquisition qui, sur la base d'informations de date/heure d'image capturée dans la machine de travail autonome, d'informations de date/heure et d'informations d'orientation du soleil, acquiert des informations relatives au soleil indiquant la position ou l'orientation du soleil à laquelle l'éclairage en contre-jour se produirait tout en se déplaçant dans une zone de travail; et une unité de commande qui, sur la base des informations relatives au soleil acquises par l'unité d'acquisition, définit une trajectoire de machine de travail autonome de façon à éviter l'éclairage en contre-jour.外界を撮影するカメラを有する自律作業機は、日時情報及び太陽の方位情報と、前記自律作業機における撮影日時情報とに基づいて、作業エリアの走行時において逆光となる太陽の位置又は方位を示す太陽情報を取得する取得部と、取得部によって取得された太陽情報に基づいて、逆光を回避するような自律作業機の軌道を設定する制御部と、を備える。