Home
last modified time | relevance | path

Searched refs:true_north (Results 1 – 2 of 2) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
Ddatalogger_outputs.c160 void inv_get_sensor_type_compass_float(float *mag_north, float *true_north, in inv_get_sensor_type_compass_float() argument
189 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()
Ddatalogger_outputs.h27 void inv_get_sensor_type_compass_float(float *mag_north, float *true_north,