Text this: Motion control of robot on defined path