Lines Matching refs:orientation
203 gyroCal[ii] = mldl_cfg->pdata->orientation[ii]; in inv_apply_calibration()
205 accelCal[ii] = mldl_cfg->pdata->accel.orientation[ii]; in inv_apply_calibration()
208 magCal[ii] = mldl_cfg->pdata->compass.orientation[ii]; in inv_apply_calibration()
771 inv_error_t inv_set_accel_calibration(float range, signed char *orientation) in inv_set_accel_calibration() argument
817 cal[kk] = scale * orientation[kk]; in inv_set_accel_calibration()
821 orient = inv_orientation_matrix_to_scalar(orientation); in inv_set_accel_calibration()
917 inv_error_t inv_set_gyro_calibration(float range, signed char *orientation) in inv_set_gyro_calibration() argument
946 inv_obj.gyro_cal[kk] = (long)(scale * orientation[kk] * (1L << 30)); in inv_set_gyro_calibration()
947 inv_obj.gyro_orient[kk] = (long)((double)orientation[kk] * (1L << 30)); in inv_set_gyro_calibration()
1065 inv_error_t inv_set_compass_calibration(float range, signed char *orientation) in inv_set_compass_calibration() argument
1081 cal[kk] = scale * orientation[kk]; in inv_set_compass_calibration()
1101 if (orientation[kk] == 1) in inv_set_compass_calibration()
1103 else if (orientation[kk] == -1) in inv_set_compass_calibration()
1859 s2[kk] = mldlCfg->pdata->orientation[kk * 3] * s[0] + in inv_set_mpu_6050_config()
1860 mldlCfg->pdata->orientation[kk * 3 + 1] * s[1] + in inv_set_mpu_6050_config()
1861 mldlCfg->pdata->orientation[kk * 3 + 2] * s[2]; in inv_set_mpu_6050_config()