Synopsis
void ahrs_get_orientation(AHRS_STATE_t *self,
                          float *q);
Description

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).

Thread Safety

ahrs_get_orientation is thread safe.