A repetitive control scheme for industrial robots based on b-spline trajectories