Qspline

Download

Documentation

Qspline is a C language subroutine which interpolates between quaternion values given at specified times, while maintaining quaternion normalization, such that the associated interpolated angular rate and acceleration vectors are continuous functions of time. The interpolation employs a third-order polynomial expansion of the rotation vector. Non-linear boundary conditions on the angular  acceleration are solved using a rapidly convergent iteration procedure. The result is functionally equivalent to the usual cubic spline interpolation for scalar functions.

The distribution contains a driver and data to test the subroutine as well as complete documentation of the method used.