A control system, comprising: a measurement device configured to obtain one-dimensional information about an object; a drive (30, 40) configured to change a relative position of the measurement device relative to the object; and a controller configured to control the measurement device and the drive (30, 40) to obtain information about a two-dimensional shape or a three-dimensional shape of the object based on the one-dimensional information obtained by the measurement device, the controller including a measurement data generation unit configured to generate measurement data including a plurality of pieces of one-dimensional information obtained from the measurement device and a plurality of pieces of positional information obtained from the drive (30, 40) that are read in accordance with measurement intervals, a drive controller configured to control the drive (30, 40) in a manner to have a constant distance between the measurement device and the object; and a shape data generation unit configured to generate two-dimensional shape data or three-dimensional shape data based on the measurement data generated by the measurement data generation unit, wherein the drive controller includes a filter configured to remove noise information from the one-dimensional information obtained from the measurement device, and a target position calculation unit configured to calculate a target position at which a distance between the measurement device and the object is constant based on the one-dimensional information from which the noise information has been removed by the filter, and the positional information obtained from the drive (30, 40). a measurement device configured to obtain one-dimensional information about an object; a drive (30, 40) configured to change a relative position of the measurement device relative to the object; and a controller configured to control the measurement device and the drive (30, 40) to obtain information about a two-dimensional shape or a three-dimensional shape of the object based on the one-dimensional information obtained by the measurement device, the controller including a measurement data generation unit configured to generate measurement data including a plurality of pieces of one-dimensional information obtained from the measurement device and a plurality of pieces of positional information obtained from the drive (30, 40) that are read in accordance with measurement intervals, a drive controller configured to control the drive (30, 40) in a manner to have a constant distance between the measurement device and the object; and a shape data generation unit configured to generate two-dimensional shape data or three-dimensional shape data based on the measurement data generated by the measurement data generation unit, wherein the drive controller includes a filter configured to remove noise information from the one-dimensional information obtained from the measurement device, and a target position calculation unit configured to calculate a target position at which a distance between the measurement device and the object is constant based on the one-dimensional information from which the noise information has been removed by the filter, and the positional information obtained from the drive (30, 40). wherein the drive controller includes a filter configured to remove noise information from the one-dimensional information obtained from the measurement device, and a target position calculation unit configured to calculate a target position at which a distance between the measurement device and the object is constant based on the one-dimensional information from which the noise information has been removed by the filter, and the positional information obtained from the drive (30, 40).