Home
last modified time | relevance | path

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

/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
Dinv_self_test.c261 int scale_ratio; in main() local
468 scale_ratio = 2000 / gyro_scale.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()
506 scale_ratio = accel_scale.i / 2; in main()
508 (long)(accel_bias[0].l / 1000.f * 65536.f * scale_ratio); in main()
510 (long)(accel_bias[1].l / 1000.f * 65536.f * scale_ratio); in main()
512 (long)(accel_bias[2].l / 1000.f * 65536.f * scale_ratio); in main()
543 scale_ratio = 16 / accel_scale.i; in main()
[all …]