Searched refs:gravity (Results 1 - 12 of 12) sorted by relevance

/hardware/invensense/60xx/libsensors_iio/software/core/mpl/
H A Dmag_disturb.h18 const long *compass, const long *gravity);
/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
H A Dhal_outputs.c62 * @param[out] values Acceleration in m/s^2 includes gravity. So while not in motion, it
99 long gravity[3], accel[3]; local
103 inv_get_gravity(gravity);
104 accel[0] -= gravity[0] >> 14;
105 accel[1] -= gravity[1] >> 14;
106 accel[2] -= gravity[2] >> 14;
124 long gravity[3]; local
127 inv_get_gravity(gravity);
128 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION;
129 values[1] = (gravity[
[all...]
H A Dresults_holder.c195 /** Gets gravity vector
196 * @param[out] data gravity vector in body frame scaled such that 1.0 = 2^30.
396 * with gravity removed
398 * with gravity removed
404 long gravity[3]; local
409 inv_get_gravity(gravity);
410 data[0] -= gravity[0] >> 14;
411 data[1] -= gravity[1] >> 14;
412 data[2] -= gravity[2] >> 14;
/hardware/invensense/6515/libsensors_iio/software/core/mpl/
H A Dmag_disturb.h21 const long *compass, const long *gravity);
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/
H A Dmag_disturb.h20 const long *compass, const long *gravity);
/hardware/invensense/6515/libsensors_iio/software/core/mllite/
H A Dhal_outputs.c115 * @param[out] values Acceleration in m/s^2 includes gravity. So while not in motion, it
154 long gravity[3], accel[3]; local
158 inv_get_gravity(gravity);
159 accel[0] -= gravity[0] >> 14;
160 accel[1] -= gravity[1] >> 14;
161 accel[2] -= gravity[2] >> 14;
179 long gravity[3]; local
182 inv_get_gravity(gravity);
183 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION;
184 values[1] = (gravity[
[all...]
H A Dresults_holder.c251 /** Gets gravity vector
252 * @param[out] data gravity vector in body frame scaled such that 1.0 = 2^30.
599 * with gravity removed
601 * with gravity removed
607 long gravity[3]; local
612 inv_get_gravity(gravity);
613 data[0] -= gravity[0] >> 14;
614 data[1] -= gravity[1] >> 14;
615 data[2] -= gravity[2] >> 14;
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Dhal_outputs.c67 * @param[out] values Acceleration in m/s^2 includes gravity. So while not in motion, it
106 long gravity[3], accel[3]; local
110 inv_get_gravity(gravity);
111 accel[0] -= gravity[0] >> 14;
112 accel[1] -= gravity[1] >> 14;
113 accel[2] -= gravity[2] >> 14;
135 long gravity[3]; local
140 inv_get_gravity(gravity);
141 values[0] = (gravity[0] >> 14) * ACCEL_CONVERSION;
142 values[1] = (gravity[
[all...]
H A Dresults_holder.c235 /** Gets gravity vector
236 * @param[out] data gravity vector in body frame scaled such that 1.0 = 2^30.
475 * with gravity removed
477 * with gravity removed
483 long gravity[3]; local
488 inv_get_gravity(gravity);
489 data[0] -= gravity[0] >> 14;
490 data[1] -= gravity[1] >> 14;
491 data[2] -= gravity[2] >> 14;
/hardware/invensense/6515/libsensors_iio/software/simple_apps/self_test/
H A Dinv_self_test.c483 // and it contains the gravity vector.
484 // Find the orientation of the device, by looking for gravity
521 Remove gravity, gravity in raw units should be 16384 = 2^14 for a +/-
523 so gravity needs to scale up accordingly.
525 /* gravity correction for accel_bias format */
526 long gravity = axis_sign * (32768L / accel_scale.i) * 1000L; local
527 accel_bias[axis].l -= gravity;
528 /* gravity correction for saved_data.accel_bias format */
529 gravity
[all...]
/hardware/invensense/60xx/mlsdk/mlutils/
H A Dmputest.c845 short *bias, long gravity,
907 x / gravity, y / gravity, z / gravity);
912 zg = z - g_z_sign * gravity;
920 1.f * bias[0] / gravity,
921 1.f * bias[1] / gravity,
922 1.f * bias[2] / gravity);
844 inv_test_accel(void *mlsl_handle, short *bias, long gravity, uint_fast8_t perform_full_test) argument
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/
H A Dmain.c494 float gravity[3]; local
495 inv_get_sensor_type_gravity_float(gravity, NULL, NULL);
496 PRINT_3ELM_ARRAY_FLOAT(10, 5, gravity);

Completed in 367 milliseconds