Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/os/drivers/invensense_icm40600/
Dinvensense_icm40600.c426 #define kScale_acc (GRAVITY_NORM * ACC_FS_RANGE / 32768.0f) macro
776 … NANOHUB_INT_NONWAKEUP, 3000, SENS_TYPE_ACCEL_RAW, 1.0 / kScale_acc, SENS_TYPE_ACCEL_BIAS) },
779 NANOHUB_INT_NONWAKEUP, 3000, SENS_TYPE_ACCEL_RAW, 1.0 / kScale_acc) },
2476 x = mSensor->data[0] * kScale_acc;
2477 y = mSensor->data[1] * kScale_acc;
2478 z = mSensor->data[2] * kScale_acc;
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c290 #define kScale_acc (9.81f * BMI160_ACC_RANGE_G / 32768.0f) macro
768 1.0/kScale_acc, SENS_TYPE_ACCEL_BIAS) },
772 1.0/kScale_acc) },
2570 parseRawData(&mTask.sensors[ACC], &buf[i], kScale_acc, tmp_frame_time);