Follow-the-leader motion simulation of a continuum manipulator with linear curvature segments