Home
last modified time | relevance | path

Searched refs:gyro_bias (Results 1 – 10 of 10) sorted by relevance

/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c257 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/
Ddata_builder.c46 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/
DmlBiasNoMotion.c345 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()
Dmlarray.c495 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()
Dml.h298 long gyro_bias[3]; member
Dmldl.c694 inv_obj.gyro_bias[ii] = -offset[ii] * sf; in inv_set_offset()
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
Ddata_builder.c626 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()
Ddata_builder.h200 long gyro_bias[3]; member
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
Ddata_builder.c840 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()
Ddata_builder.h203 long gyro_bias[3]; member