/* This corresponds to Sensor.TYPE_ORIENTATION. All values are angles in degrees.  */
int inv_get_sensor_type_orientation(float *values, int8_t *accuracy, inv_time_t *timestamp)
/* This corresponds to Sensor.TYPE_ORIENTATION. All values are angles in degrees.  */
int inv_get_sensor_type_orientation(float *values, int8_t *accuracy, inv_time_t *timestamp)
{
    *accuracy = (int8_t) hal_out.accuracy_quat;
    *timestamp = hal_out.nav_timestamp;
    google_orientation(values);
    return hal_out.nine_axis_status;
}