A measurement device can detect a degree of bending of a linear body (1) with a sensor when compressive force (P) in a direction of longitudinal axis is applied to the linear body (1) as a result of contact of a tip end of the linear body (1) with an obstacle. Then, the detected degree of bending of the linear body (1) is converted to compressive force (P) in the direction of longitudinal axis applied to the linear body (1) based on predetermined correlation between the degree of bending and the compressive force, so that presence of an obstacle in a direction of travel of the linear body (1) can be sensed based on increase in the compressive force. In addition, as the same measurement device is applicable to linear bodies (1) of various shapes and materials, cost effectiveness is achieved.