Searched refs:true_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() argument189 if (true_north) { in inv_get_sensor_type_compass_float()191 *true_north = atan2f((float) t1, (float) t2) * 180.f / (float) M_PI; in inv_get_sensor_type_compass_float()192 if (*true_north < 0) in inv_get_sensor_type_compass_float()193 *true_north += 360; 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,