| CPC E02F 9/262 (2013.01) [E02F 3/439 (2013.01); E02F 9/2228 (2013.01); E02F 9/2285 (2013.01); E02F 9/2292 (2013.01); E02F 9/2296 (2013.01)] | 6 Claims |

|
1. A work machine comprising: a track structure; a swing structure swingably attached onto the track structure; a work device attached to the swing structure; a position sensor that senses position information of the swing structure; a posture sensor that senses posture information of the work machine, the posture information including a swing angle of the swing structure; and a controller configured to:
obtain target shape data, set a target surface on a basis of the obtained target shape data, the position information of the swing structure, and the posture information of the work machine, and perform machine control that controls the work device on a basis of the target surface,
the controller being further configured to:
upon the controller becoming unable to obtain the position information of the swing structure by the position sensor, store, as reference swing angle information, swing angle information,
prohibit execution of the machine control based on the target surface when the swing structure is positioned outside a swing range set on a basis of the reference swing angle information, and
permit the execution of the machine control based on the target surface when the swing structure is positioned inside the swing range and when the swing structure is positioned inside the swing range again after being positioned outside the swing range.
|