A control system (SYS), comprising: a measurement device configured to obtain one-dimensional information about an object (A); a drive configured to change a relative position of the measurement device relative to the object (A); and a controller configured to control the measurement device and the drive to obtain information about a two-dimensional shape or a three-dimensional shape of the object (A) 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 that are read in accordance with measurement intervals, a drive controller configured to control the drive in a manner to have a constant distance between the measurement device and the object (A); 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 (A) 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 . a measurement device configured to obtain one-dimensional information about an object (A); a drive configured to change a relative position of the measurement device relative to the object (A); and a controller configured to control the measurement device and the drive to obtain information about a two-dimensional shape or a three-dimensional shape of the object (A) 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 that are read in accordance with measurement intervals, a drive controller configured to control the drive in a manner to have a constant distance between the measurement device and the object (A); 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 (A) 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 . 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 (A) 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 . <EOS>