Application of Cubic Spline Interpolation for Embedded Robot Controller