Path motion planning, path in space followed by tip of robot