void ahrs_get_orientation(AHRS_STATE_t *self, float *q);
ahrs_get_orientation assigns the current orientation of the AHRS self to q. q is a pointer to an array of four floating values that are assigned the orientation in quaternion form, (w, x, y, z).
ahrs_get_orientation is thread safe.