Searched refs:gyro_bias (Results 1 – 10 of 10) sorted by relevance
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/ |
D | inv_self_test.c | 257 bias_dtype gyro_bias[3]; in main() local 350 memset(gyro_bias,0, sizeof(gyro_bias)); in main() 405 if (read_sysfs_int(mpu.gyro_x_calibbias, &gyro_bias[0].i) < 0 || in main() 406 read_sysfs_int(mpu.gyro_y_calibbias, &gyro_bias[1].i) < 0 || in main() 407 read_sysfs_int(mpu.gyro_z_calibbias, &gyro_bias[2].i) < 0 || in main() 409 memset(gyro_bias, 0, sizeof(gyro_bias)); in main() 416 gyro_bias[0].i, gyro_bias[1].i, gyro_bias[2].i); in main() 470 (long)(gyro_bias[0].l / 1000.f * 65536.f / scale_ratio); in main() 472 (long)(gyro_bias[1].l / 1000.f * 65536.f / scale_ratio); in main() 474 (long)(gyro_bias[2].l / 1000.f * 65536.f / scale_ratio); in main() [all …]
|
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 46 long gyro_bias[3]; member 539 … if (memcmp(inv_data_builder.save.gyro_bias, bias, sizeof(inv_data_builder.save.gyro_bias))) { in inv_set_gyro_bias() 540 memcpy(inv_data_builder.save.gyro_bias, bias, sizeof(inv_data_builder.save.gyro_bias)); in inv_set_gyro_bias() 541 inv_apply_calibration(&sensors.gyro, inv_data_builder.save.gyro_bias); in inv_set_gyro_bias() 569 memcpy(bias, inv_data_builder.save.gyro_bias, in inv_get_gyro_bias() 570 sizeof(inv_data_builder.save.gyro_bias)); in inv_get_gyro_bias() 658 inv_apply_calibration(&sensors.gyro, inv_data_builder.save.gyro_bias); in inv_build_gyro()
|
/hardware/invensense/60xx/mlsdk/mllite/ |
D | mlBiasNoMotion.c | 345 inv_obj->gyro_bias[0] = inv_q30_mult(biasTmp[0], 1501974482L); in MLPollMotionStatus() 346 inv_obj->gyro_bias[1] = inv_q30_mult(biasTmp[1], 1501974482L); in MLPollMotionStatus() 347 inv_obj->gyro_bias[2] = inv_q30_mult(biasTmp[2], 1501974482L); in MLPollMotionStatus()
|
D | mlarray.c | 495 data[0] = inv_obj.gyro_bias[0]; in inv_get_gyro_bias() 496 data[1] = inv_obj.gyro_bias[1]; in inv_get_gyro_bias() 497 data[2] = inv_obj.gyro_bias[2]; in inv_get_gyro_bias() 1465 data[0] = (float)inv_obj.gyro_bias[0] / 65536.0f; in inv_get_gyro_bias_float() 1466 data[1] = (float)inv_obj.gyro_bias[1] / 65536.0f; in inv_get_gyro_bias_float() 1467 data[2] = (float)inv_obj.gyro_bias[2] / 65536.0f; in inv_get_gyro_bias_float() 2144 inv_obj.gyro_bias[i] = data[i]; in inv_set_gyro_bias() 2145 biasTmp = -inv_obj.gyro_bias[i] / sf; in inv_set_gyro_bias()
|
D | ml.h | 298 long gyro_bias[3]; member
|
D | mldl.c | 694 inv_obj.gyro_bias[ii] = -offset[ii] * sf; in inv_set_offset()
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 626 if (memcmp(inv_data_builder.save_mpl.gyro_bias, bias, in inv_set_mpl_gyro_bias() 627 sizeof(inv_data_builder.save_mpl.gyro_bias))) { in inv_set_mpl_gyro_bias() 628 memcpy(inv_data_builder.save_mpl.gyro_bias, bias, in inv_set_mpl_gyro_bias() 629 sizeof(inv_data_builder.save_mpl.gyro_bias)); in inv_set_mpl_gyro_bias() 631 inv_data_builder.save_mpl.gyro_bias); in inv_set_mpl_gyro_bias() 678 memcpy(bias, inv_data_builder.save_mpl.gyro_bias, in inv_get_mpl_gyro_bias() 679 sizeof(inv_data_builder.save_mpl.gyro_bias)); in inv_get_mpl_gyro_bias() 696 inv_data_builder.save_mpl.gyro_bias, bias); in inv_get_gyro_bias_dmp_units() 835 inv_apply_calibration(&sensors.gyro, inv_data_builder.save_mpl.gyro_bias); in inv_build_gyro()
|
D | data_builder.h | 200 long gyro_bias[3]; member
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
D | data_builder.c | 840 if (memcmp(inv_data_builder.save_mpl.gyro_bias, bias, in inv_set_mpl_gyro_bias() 841 sizeof(inv_data_builder.save_mpl.gyro_bias))) { in inv_set_mpl_gyro_bias() 842 memcpy(inv_data_builder.save_mpl.gyro_bias, bias, in inv_set_mpl_gyro_bias() 843 sizeof(inv_data_builder.save_mpl.gyro_bias)); in inv_set_mpl_gyro_bias() 845 inv_data_builder.save_mpl.gyro_bias); in inv_set_mpl_gyro_bias() 892 memcpy(bias, inv_data_builder.save_mpl.gyro_bias, in inv_get_mpl_gyro_bias() 893 sizeof(inv_data_builder.save_mpl.gyro_bias)); in inv_get_mpl_gyro_bias() 910 inv_data_builder.save_mpl.gyro_bias, bias); in inv_get_gyro_bias_dmp_units() 1061 inv_apply_calibration(&sensors.gyro, inv_data_builder.save_mpl.gyro_bias); in inv_build_gyro()
|
D | data_builder.h | 203 long gyro_bias[3]; member
|