Searched refs:gyro (Results 1 - 21 of 21) sorted by relevance

/hardware/invensense/60xx/libsensors_iio/software/core/mllite/
H A Dhal_outputs.c141 long gyro[3]; local
144 inv_get_gyro_set(gyro, accuracy, timestamp);
145 values[0] = gyro[0] * GYRO_CONVERSION;
146 values[1] = gyro[1] * GYRO_CONVERSION;
147 values[2] = gyro[2] * GYRO_CONVERSION;
165 long gyro[3]; local
168 inv_get_gyro_set_raw(gyro, accuracy, timestamp);
169 values[0] = gyro[0] * GYRO_CONVERSION;
170 values[1] = gyro[1] * GYRO_CONVERSION;
171 values[2] = gyro[
[all...]
H A Ddata_builder.c109 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy;
145 return sensors.gyro.sensitivity;
181 /** Sets the Orientation and Sensitivity of the gyro data.
200 set_sensor_orientation_and_scale(&sensors.gyro, orientation,
216 sensors.gyro.sample_rate_us = sample_rate_us;
217 sensors.gyro.sample_rate_ms = sample_rate_us / 1000;
218 if (sensors.gyro.bandwidth == 0) {
219 sensors.gyro.bandwidth = (int)(1000000L / sample_rate_us);
263 *sample_rate_ms = sensors.gyro.sample_rate_ms;
297 sensors.gyro
643 inv_build_gyro(const short *gyro, inv_time_t timestamp) argument
1038 inv_get_gyro(long *gyro) argument
[all...]
H A Ddata_builder.h21 /** This is a new sample of gyro data */
106 struct inv_single_sensor_t gyro; member in struct:inv_sensor_cal_t
176 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp);
211 void inv_get_gyro(long *gyro);
H A Dml_math_func.h102 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro);
H A Dml_math_func.c65 * @brief The gyro data magnitude squared :
67 * @param[in] gyro Gyro data scaled with 1 dps = 2^16
70 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro) argument
77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2));
/hardware/invensense/60xx/libsensors_iio/software/core/mpl/
H A Dfast_no_motion.h30 inv_error_t inv_update_fast_nomot(long *gyro);
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/
H A Ddata_builder.c97 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy;
155 return sensors.gyro.sensitivity;
213 /** Sets the Orientation and Sensitivity of the gyro data.
232 set_sensor_orientation_and_scale(&sensors.gyro, orientation,
248 sensors.gyro.sample_rate_us = sample_rate_us;
249 sensors.gyro.sample_rate_ms = sample_rate_us / 1000;
250 if (sensors.gyro.bandwidth == 0) {
251 sensors.gyro.bandwidth = (int)(1000000L / sample_rate_us);
295 *sample_rate_ms = sensors.gyro.sample_rate_ms;
329 sensors.gyro
762 inv_build_gyro(const short *gyro, inv_time_t timestamp) argument
1202 inv_get_gyro(long *gyro) argument
[all...]
H A Dhal_outputs.c157 long gyro[3]; local
160 inv_get_gyro_set(gyro, accuracy, timestamp);
162 values[0] = gyro[0] * GYRO_CONVERSION;
163 values[1] = gyro[1] * GYRO_CONVERSION;
164 values[2] = gyro[2] * GYRO_CONVERSION;
183 long gyro[3]; local
186 inv_get_gyro_set_raw(gyro, accuracy, timestamp);
187 values[0] = gyro[0] * GYRO_CONVERSION;
188 values[1] = gyro[1] * GYRO_CONVERSION;
189 values[2] = gyro[
[all...]
H A Ddata_builder.h22 /** This is a new sample of gyro data */
126 struct inv_single_sensor_t gyro; member in struct:inv_sensor_cal_t
174 /** gyro factory bias in chip frame, hardware units scaled by 2^16,
194 /** gyro bias in chip frame, hardware units scaled by 2^16, +/- 2000 dps
230 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp);
283 void inv_get_gyro(long *gyro);
H A Dml_math_func.h102 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro);
H A Dml_math_func.c65 * @brief The gyro data magnitude squared :
67 * @param[in] gyro Gyro data scaled with 1 dps = 2^16
70 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro) argument
77 temp = gyro[kk] >> (16 - (GYRO_MAG_SQR_SHIFT / 2));
1058 @param[in] inQuat, 3 elements gyro quaternion
1059 @param[out] outquat, 4 elements gyro quaternion
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/
H A Dfast_no_motion.h30 inv_error_t inv_update_fast_nomot(long *gyro);
/hardware/invensense/60xx/libsensors/
H A DMPLSensor.cpp570 //after the first no motion, the gyro should be calibrated well
598 res = inv_get_float_array(INV_GYROS, s->gyro.v);
599 s->gyro.v[0] = s->gyro.v[0] * M_PI / 180.0;
600 s->gyro.v[1] = s->gyro.v[1] * M_PI / 180.0;
601 s->gyro.v[2] = s->gyro.v[2] * M_PI / 180.0;
694 s->gyro.v[0] = quat[1];
695 s->gyro
1298 fillGyro(const char* gyro, struct sensor_t *list) argument
[all...]
H A DMPLSensor.h131 void fillGyro(const char* gyro, struct sensor_t *list);
/hardware/invensense/60xx/libsensors_iio/
H A DMPLSensor.cpp228 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature);
538 /* gyro setup */
603 // get gyro orientation
615 "HAL:gyro mounting matrix: "
629 LOGE("HAL:Couldn't read gyro mounting matrix");
686 LOGE("HAL:could not disable gyro master enable");
1051 res = enableOneSensor(sensors & INV_THREE_AXIS_GYRO, "gyro", &MPLSensor::enableGyro);
1204 update = inv_get_sensor_type_gyroscope(s->gyro.v, &status, &s->timestamp);
1205 LOGV_IF(HANDLER_DATA, "HAL:gyro data : %+f %+f %+f -- %lld - %d",
1206 s->gyro
[all...]
H A DMPLSensor.h226 int mGyroAccuracy; // value indicating the quality of the gyro calibr.
327 void fillGyro(const char* gyro, struct sensor_t *list);
/hardware/invensense/65xx/libsensors_iio/
H A DMPLSensor.cpp93 // mask of virtual sensors that require gyro + accel + compass data
100 // mask of virtual sensors that require gyro + accel data (but no compass data)
104 // mask of virtual sensors that require mag + accel data (but no gyro data)
296 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature);
305 /* read gyro FSR to calculate accel scale later */
313 LOGE("HAL:Error opening gyro FSR");
318 LOGE("HAL:Error reading gyro FSR");
327 /* read gyro self test scale used to calculate factory cal bias later */
333 LOGE("HAL:Error opening gyro self test scale");
338 LOGE("HAL:Error reading gyro sel
[all...]
H A DMPLSensor.h333 int mGyroAccuracy; // value indicating the quality of the gyro calibr.
521 void fillGyro(const char* gyro, struct sensor_t *list);
/hardware/libhardware/include/hardware/
H A Dsensors.h341 * automatic gyro-drift compensation is allowed but not required.
453 * This sensor can also include magnetometer input to make up for gyro drift,
549 * No gyro-drift compensation shall be performed.
842 sensors_vec_t gyro; member in union:sensors_event_t::__anon353::__anon354
1242 * If the gyroscope is set at 800Hz, even batching just 10 gyro events can
/hardware/qcom/msm8x74/kernel-headers/media/
H A Dmsm_cam_sensor.h289 int16_t gyro[2]; member in struct:msm_sensor_ois_info_t
/hardware/qcom/msm8x74/original-kernel-headers/media/
H A Dmsm_cam_sensor.h257 int16_t gyro[2]; member in struct:msm_sensor_ois_info_t

Completed in 950 milliseconds