/hardware/invensense/60xx/libsensors_iio/software/core/mllite/ |
hal_outputs.c | 30 // int accuracy_gyro; /**< Gyro Accuracy */
141 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; [all...] |
data_builder.c | 45 /** Gyro Bias in Chip Frame in Hardware units scaled by 2^16 */ 109 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; 138 /** Gyro sensitivity. 145 return sensors.gyro.sensitivity; 181 /** Sets the Orientation and Sensitivity of the gyro data. 200 set_sensor_orientation_and_scale(&sensors.gyro, orientation, 204 /** Set Gyro Sample rate in micro seconds. 205 * @param[in] sample_rate_us Set Gyro Sample rate in us 216 sensors.gyro.sample_rate_us = sample_rate_us; 217 sensors.gyro.sample_rate_ms = sample_rate_us / 1000 [all...] |
data_builder.h | 21 /** 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);
|
ml_math_func.h | 102 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro);
|
/hardware/invensense/60xx/libsensors_iio/software/core/mpl/ |
fast_no_motion.h | 30 inv_error_t inv_update_fast_nomot(long *gyro);
|
/hardware/invensense/6515/libsensors_iio/software/core/mllite/ |
data_builder.c | 99 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; 171 /** Gyro sensitivity. 178 return sensors.gyro.sensitivity; 236 /** Sets the Orientation and Sensitivity of the gyro data. 255 set_sensor_orientation_and_scale(&sensors.gyro, orientation, 259 /** Set Gyro Sample rate in micro seconds. 260 * @param[in] sample_rate_us Set Gyro Sample rate in us 271 sensors.gyro.sample_rate_us = sample_rate_us; 272 sensors.gyro.sample_rate_ms = sample_rate_us / 1000; 273 if (sensors.gyro.bandwidth == 0) [all...] |
hal_outputs.c | 46 //int accuracy_gyro; /**< Gyro Accuracy */ 204 long gyro[3]; local 207 inv_get_gyro_set(gyro, accuracy, timestamp); 209 values[0] = gyro[0] * GYRO_CONVERSION; 210 values[1] = gyro[1] * GYRO_CONVERSION; 211 values[2] = gyro[2] * GYRO_CONVERSION; 230 long gyro[3]; local 233 inv_get_gyro_set_raw(gyro, accuracy, timestamp); 234 values[0] = gyro[0] * GYRO_CONVERSION; 235 values[1] = gyro[1] * GYRO_CONVERSION [all...] |
data_builder.h | 22 /** This is a new sample of gyro data */ 131 struct inv_single_sensor_t gyro; member in struct:inv_sensor_cal_t 181 /** gyro factory bias in chip frame, hardware units scaled by 2^16, 201 /** gyro bias in chip frame, hardware units scaled by 2^16, +/- 2000 dps 243 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp); 301 void inv_get_gyro(long *gyro);
|
ml_math_func.h | 102 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro);
|
/hardware/invensense/6515/libsensors_iio/software/core/mpl/ |
fast_no_motion.h | 30 inv_error_t inv_update_fast_nomot(long *gyro);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mpl/ |
fast_no_motion.h | 30 inv_error_t inv_update_fast_nomot(long *gyro);
|
/hardware/invensense/65xx/libsensors_iio/software/core/mllite/ |
data_builder.c | 98 sensors.gyro.accuracy = inv_data_builder.save.gyro_accuracy; 170 /** Gyro sensitivity. 177 return sensors.gyro.sensitivity; 235 /** Sets the Orientation and Sensitivity of the gyro data. 254 set_sensor_orientation_and_scale(&sensors.gyro, orientation, 258 /** Set Gyro Sample rate in micro seconds. 259 * @param[in] sample_rate_us Set Gyro Sample rate in us 270 sensors.gyro.sample_rate_us = sample_rate_us; 271 sensors.gyro.sample_rate_ms = sample_rate_us / 1000; 272 if (sensors.gyro.bandwidth == 0) [all...] |
hal_outputs.c | 46 //int accuracy_gyro; /**< Gyro Accuracy */
165 long gyro[3];
local 168 inv_get_gyro_set(gyro, accuracy, timestamp);
170 values[0] = gyro[0] * GYRO_CONVERSION;
171 values[1] = gyro[1] * GYRO_CONVERSION;
172 values[2] = gyro[2] * GYRO_CONVERSION;
191 long gyro[3];
local 194 inv_get_gyro_set_raw(gyro, accuracy, timestamp);
195 values[0] = gyro[0] * GYRO_CONVERSION;
196 values[1] = gyro[1] * GYRO_CONVERSION; [all...] |
data_builder.h | 22 /** This is a new sample of gyro data */ 128 struct inv_single_sensor_t gyro; member in struct:inv_sensor_cal_t 178 /** gyro factory bias in chip frame, hardware units scaled by 2^16, 198 /** gyro bias in chip frame, hardware units scaled by 2^16, +/- 2000 dps 240 inv_error_t inv_build_gyro(const short *gyro, inv_time_t timestamp); 297 void inv_get_gyro(long *gyro);
|
ml_math_func.h | 102 unsigned long inv_get_gyro_sum_of_sqr(const long *gyro);
|
/hardware/invensense/6515/libsensors_iio/software/simple_apps/playback/linux/ |
and_constructor.c | 33 int product; /**< Gyro Product Number */ 76 // gyro setup 114 short gyro[3]; local 146 r = fread(gyro, sizeof(gyro[0]), 3, inv_construct.file); 148 inv_build_gyro(gyro, ts); 150 gyro[0], gyro[1], gyro[2], ts); 310 // Set Gyro Sample Rate in MPL in micro second [all...] |
datalogger_outputs.c | 51 struct inv_single_sensor_t *pg = &dl_out.sc.gyro; 67 struct inv_single_sensor_t *pg = &dl_out.sc.gyro; 94 long gyro[3]; local 95 inv_get_gyro_set(gyro, accuracy, timestamp); 97 values[0] = (float)gyro[0] / 65536.f; 98 values[1] = (float)gyro[1] / 65536.f; 99 values[2] = (float)gyro[2] / 65536.f;
|
main.c | 354 float gyro[3]; local 355 inv_get_gyro_float(gyro); 356 PRINT_3ELM_ARRAY_FLOAT(10, 5, gyro); 359 memcpy(gyro_keep[cnt], gyro, sizeof(float) * 3);
|
/hardware/invensense/60xx/libsensors/ |
MPLSensor.cpp | 232 mPendingEvents[Gyro].version = sizeof(sensors_event_t); 233 mPendingEvents[Gyro].sensor = ID_GY; 234 mPendingEvents[Gyro].type = SENSOR_TYPE_GYROSCOPE; 254 mHandlers[Gyro] = &MPLSensor::gyroHandler; 570 //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 [all...] |
MPLSensor.h | 47 Gyro=0, 131 void fillGyro(const char* gyro, struct sensor_t *list);
|
/hardware/invensense/60xx/libsensors_iio/ |
MPLSensor.cpp | 228 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature); 276 mPendingEvents[Gyro].version = sizeof(sensors_event_t); 277 mPendingEvents[Gyro].sensor = ID_GY; 278 mPendingEvents[Gyro].type = SENSOR_TYPE_GYROSCOPE; 304 mHandlers[Gyro] = &MPLSensor::gyroHandler; 538 /* gyro setup */ 603 // get gyro orientation 615 "HAL:gyro mounting matrix: " 629 LOGE("HAL:Couldn't read gyro mounting matrix"); 682 /* Turn off Gyro master enable * [all...] |
MPLSensor.h | 121 Gyro = 0,
226 int mGyroAccuracy; // value indicating the quality of the gyro calibr.
327 void fillGyro(const char* gyro, struct sensor_t *list);
|
/hardware/invensense/6515/libsensors_iio/ |
MPLSensor.cpp | 180 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature); 189 /* read gyro FSR to calculate accel scale later */ 197 LOGE("HAL:Error opening gyro FSR"); 202 LOGE("HAL:Error reading gyro FSR"); 206 LOGV_IF(EXTRA_VERBOSE, "HAL:Gyro FSR used %ld", mGyroScale); 211 /* read gyro self test scale used to calculate factory cal bias later */ 217 LOGE("HAL:Error opening gyro self test scale"); 222 LOGE("HAL:Error reading gyro self test scale"); 226 LOGV_IF(EXTRA_VERBOSE, "HAL:Gyro self test scale used %ld", mGyroSelfTestScale); 231 /* open Factory Gyro Bias fd * [all...] |
/hardware/invensense/65xx/libsensors_iio/ |
MPLSensor.cpp | 93 // 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) 304 LOGV_IF(EXTRA_VERBOSE, "HAL:gyro temperature path: %s", mpu.temperature); 313 /* read gyro FSR to calculate accel scale later */ 321 LOGE("HAL:Error opening gyro FSR"); 326 LOGE("HAL:Error reading gyro FSR"); 330 LOGV_IF(EXTRA_VERBOSE, "HAL:Gyro FSR used %ld", mGyroScale); 335 /* read gyro self test scale used to calculate factory cal bias later */ 341 LOGE("HAL:Error opening gyro self test scale") [all...] |
/hardware/libhardware/include/hardware/ |
sensors.h | 726 sensors_vec_t gyro; member in union:sensors_event_t::__anon40520::__anon40521 [all...] |