Title: On-line motion planning: case of a planar rod