A Repetitive Control Scheme for Industrial Robots Based on B-Spline Trajectories