Lines Matching refs:Z
276 #define Z (2) macro
471 Avg[X] = .0f, Avg[Y] = .0f, Avg[Z] = .0f; in inv_test_gyro_3050()
475 Avg[Z] += 1.f * z[i] / tmp; in inv_test_gyro_3050()
478 Avg[X], Avg[Y], Avg[Z]); in inv_test_gyro_3050()
483 Avg[Z] / adjGyroSens); in inv_test_gyro_3050()
499 RMS[X] = 0.f, RMS[Y] = 0.f, RMS[Z] = 0.f; in inv_test_gyro_3050()
503 RMS[Z] += (z[i] - Avg[Z]) * (z[i] - Avg[Z]); in inv_test_gyro_3050()
518 sqrt(RMS[Z] / total_count)); in inv_test_gyro_3050()
523 RMS[Z] / total_count); in inv_test_gyro_3050()
526 if (RMS[X] == 0 || RMS[Y] == 0 || RMS[Z] == 0) { in inv_test_gyro_3050()
544 gyro_biases[Z] = FLOAT_TO_SHORT(Avg[Z]); in inv_test_gyro_3050()
747 Avg[X] = .0f, Avg[Y] = .0f, Avg[Z] = .0f; in inv_test_gyro_6050()
751 Avg[Z] += 1.f * z[i] / tmp; in inv_test_gyro_6050()
754 Avg[X], Avg[Y], Avg[Z]); in inv_test_gyro_6050()
759 Avg[Z] / adjGyroSens); in inv_test_gyro_6050()
771 gyro_biases[Z] = FLOAT_TO_SHORT(Avg[Z]); in inv_test_gyro_6050()
894 z += 1.f * vals[Z] / test_setup.accel_samples; in inv_test_accel()
928 RMS[X] = 0.f, RMS[Y] = 0.f, RMS[Z] = 0.f; in inv_test_accel()
933 RMS[Z] += (vals[Z] - z) * (vals[Z] - z); in inv_test_accel()
948 sqrt(RMS[Z] / DEF_N_ACCEL_SAMPLES)); in inv_test_accel()