Searched refs:COMPASS_CONVERSION (Results 1 – 3 of 3) sorted by relevance
167 #define COMPASS_CONVERSION (10 / 65536.f) in inv_get_sensor_type_compass_float() macro170 values[0] = (float)compass[0]*COMPASS_CONVERSION; in inv_get_sensor_type_compass_float()171 values[1] = (float)compass[1]*COMPASS_CONVERSION; in inv_get_sensor_type_compass_float()172 values[2] = (float)compass[2]*COMPASS_CONVERSION; in inv_get_sensor_type_compass_float()
367 #define COMPASS_CONVERSION 1.52587890625e-005f in inv_get_sensor_type_magnetic_field_raw() macro370 values[i] = (float)mag[i] * COMPASS_CONVERSION; in inv_get_sensor_type_magnetic_field_raw()608 #define COMPASS_CONVERSION 1.52587890625e-005f in inv_generate_hal_outputs() macro615 hal_out.compass_float[i] = (float)compass[i] * COMPASS_CONVERSION; in inv_generate_hal_outputs()630 COMPASS_CONVERSION; in inv_generate_hal_outputs()632 hal_out.compass_float[i] = (float)compass[i] * COMPASS_CONVERSION; in inv_generate_hal_outputs()
413 #define COMPASS_CONVERSION 1.52587890625e-005f in inv_get_sensor_type_magnetic_field_raw() macro416 values[i] = (float)mag[i] * COMPASS_CONVERSION; in inv_get_sensor_type_magnetic_field_raw()666 #define COMPASS_CONVERSION 1.52587890625e-005f in inv_generate_hal_outputs() macro673 hal_out.compass_float[i] = (float)compass[i] * COMPASS_CONVERSION; in inv_generate_hal_outputs()688 COMPASS_CONVERSION; in inv_generate_hal_outputs()690 hal_out.compass_float[i] = (float)compass[i] * COMPASS_CONVERSION; in inv_generate_hal_outputs()