Searched refs:mag_north (Results 1 – 2 of 2) sorted by relevance
160 void inv_get_sensor_type_compass_float(float *mag_north, float *true_north, in inv_get_sensor_type_compass_float() argument184 if (mag_north) { in inv_get_sensor_type_compass_float()185 *mag_north = atan2f((float) t1, (float) t2) * 180.f / (float) M_PI; in inv_get_sensor_type_compass_float()186 if (*mag_north < 0) in inv_get_sensor_type_compass_float()187 *mag_north += 360; in inv_get_sensor_type_compass_float()190 if (!mag_north) { in inv_get_sensor_type_compass_float()195 *true_north = *mag_north; in inv_get_sensor_type_compass_float()
27 void inv_get_sensor_type_compass_float(float *mag_north, float *true_north,