A forklift comprising: a fork; a moving mechanism configured to move the fork in a first direction; a laser sensor mounted on the fork, configured to scan laser light in a second direction intersecting the first direction, and measure a distance from the laser sensor to a surrounding object based on reflection of the scanned laser light; and a processor (34, 36) configured to generate a three-dimensional range image within an emission range to which the laser light is emitted based on distance data acquired when the laser sensor scans the laser light in the second direction while the moving mechanism moves the fork in the first direction, wherein the moving mechanism comprises at least a lifting mechanism configured to move the fork up and down in a vertical direction, so that the laser sensor moves up and down in the vertical direction as the fork moves up and down in the vertical direction, and the processor (34, 36) is configured to execute the following steps: (a) acquiring an observation point group from three-dimensional distance data acquired from the laser sensor; (b) extracting a point group constituting a straight line extending in a substantially horizontal direction from the observation point group; (c) clustering the point group constituting the extracted straight line by using Euclidean distance; (d) determining whether the number of clusters of the extracted straight line is three and whether the length of the point group constituting the extracted straight line is substantially equal to a width of a pallet; and (e) storing the point group constituting the straight line as the three-dimensional distance data that was acquired by observing a front face of the pallet when both conditions of step (d) are satisfied, such that when the generated three-dimensional range image includes the pallet, the processor (34, 36) is configured to selectively extract only the three-dimensional distance data acquired from the front face of the pallet from the three-dimensional range image and identify a position, an orientation, and the width of the pallet based on a plane at the front face of the pallet identified based on the extracted distance data. a fork; a moving mechanism configured to move the fork in a first direction; a laser sensor mounted on the fork, configured to scan laser light in a second direction intersecting the first direction, and measure a distance from the laser sensor to a surrounding object based on reflection of the scanned laser light; and a processor (34, 36) configured to generate a three-dimensional range image within an emission range to which the laser light is emitted based on distance data acquired when the laser sensor scans the laser light in the second direction while the moving mechanism moves the fork in the first direction, wherein the moving mechanism comprises at least a lifting mechanism configured to move the fork up and down in a vertical direction, so that the laser sensor moves up and down in the vertical direction as the fork moves up and down in the vertical direction, and the processor (34, 36) is configured to execute the following steps: (a) acquiring an observation point group from three-dimensional distance data acquired from the laser sensor; (b) extracting a point group constituting a straight line extending in a substantially horizontal direction from the observation point group; (c) clustering the point group constituting the extracted straight line by using Euclidean distance; (d) determining whether the number of clusters of the extracted straight line is three and whether the length of the point group constituting the extracted straight line is substantially equal to a width of a pallet; and (e) storing the point group constituting the straight line as the three-dimensional distance data that was acquired by observing a front face of the pallet when both conditions of step (d) are satisfied, (a) acquiring an observation point group from three-dimensional distance data acquired from the laser sensor; (b) extracting a point group constituting a straight line extending in a substantially horizontal direction from the observation point group; (c) clustering the point group constituting the extracted straight line by using Euclidean distance; (d) determining whether the number of clusters of the extracted straight line is three and whether the length of the point group constituting the extracted straight line is substantially equal to a width of a pallet; and (e) storing the point group constituting the straight line as the three-dimensional distance data that was acquired by observing a front face of the pallet when both conditions of step (d) are satisfied, such that when the generated three-dimensional range image includes the pallet, the processor (34, 36) is configured to selectively extract only the three-dimensional distance data acquired from the front face of the pallet from the three-dimensional range image and identify a position, an orientation, and the width of the pallet based on a plane at the front face of the pallet identified based on the extracted distance data.