Home
last modified time | relevance | path

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

/device/google/contexthub/firmware/variant/nucleo/inc/variant/
Dvariant.h45 float xi = x, yi = y, zi = z; \
46 x = xi; y = yi; z = zi; \
51 float xi = x, yi = y, zi = z; \
52 x = xi; y = -yi; z = -zi; \
/device/google/contexthub/firmware/variant/lunchbox/inc/variant/
Dvariant.h52 float xi = x, yi = y, zi = z; \
53 x = -yi; y = xi; z = zi; \
58 float xi = x, yi = y, zi = z; \
59 x = xi; y = -yi; z = -zi; \
/device/google/contexthub/firmware/variant/neonkey/inc/variant/
Dvariant.h63 float xi = x, yi = y, zi = z; \
64 x = xi; y = yi; z = zi; \
69 float xi = x, yi = y, zi = z; \
70 x = xi; y = -yi; z = -zi; \
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.h96 void magCalRemoveBias(struct MagCal *moc, float xi, float yi, float zi,
103 void magCalRemoveSoftiron(struct MagCal *moc, float xi, float yi, float zi,
Dmag_cal.c240 void magCalRemoveBias(struct MagCal *moc, float xi, float yi, float zi, in magCalRemoveBias() argument
244 *zo = zi - moc->z_bias; in magCalRemoveBias()
261 void magCalRemoveSoftiron(struct MagCal *moc, float xi, float yi, float zi, in magCalRemoveSoftiron() argument
263 *xo = moc->c00 * xi + moc->c01 * yi + moc->c02 * zi; in magCalRemoveSoftiron()
264 *yo = moc->c10 * xi + moc->c11 * yi + moc->c12 * zi; in magCalRemoveSoftiron()
265 *zo = moc->c20 * xi + moc->c21 * yi + moc->c22 * zi; in magCalRemoveSoftiron()
/device/google/contexthub/firmware/os/drivers/st_acc44/
DREADME49 float xi = x, yi = y, zi = z; \
50 x = xi; y = yi; z = zi; \
/device/google/contexthub/firmware/os/algos/calibration/gyroscope/
Dgyro_cal.h230 void gyroCalRemoveBias(struct GyroCal* gyro_cal, float xi, float yi, float zi,
Dgyro_cal.c236 void gyroCalRemoveBias(struct GyroCal* gyro_cal, float xi, float yi, float zi, in gyroCalRemoveBias() argument
241 *zo = zi - gyro_cal->bias_z; in gyroCalRemoveBias()
/device/google/contexthub/firmware/os/algos/calibration/over_temp/
Dover_temp_cal.h470 float zi, float *xo, float *yo, float *zo);
Dover_temp_cal.c505 float zi, float *xo, float *yo, float *zo) { in overTempCalRemoveOffset() argument
517 *zo = zi - over_temp_cal->compensated_offset.offset[2]; in overTempCalRemoveOffset()
521 *zo = zi; in overTempCalRemoveOffset()
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c721 float xi, yi, zi; in parseRawData() local
743 magCalRemoveSoftiron(&mTask.moc, x, y, z, &xi, &yi, &zi); in parseRawData()
745 newMagnCalibData = magCalUpdate(&mTask.moc, TIME_NS_TO_US(mTask.timestampInt), xi, yi, zi); in parseRawData()
747 magCalRemoveBias(&mTask.moc, xi, yi, zi, &x, &y, &z); in parseRawData()
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c2035 float xi, yi, zi; local
2036 magCalRemoveSoftiron(&mTask.moc, x, y, z, &xi, &yi, &zi);
2038 newMagBias |= magCalUpdate(&mTask.moc, sensorTime * kSensorTimerIntervalUs, xi, yi, zi);
2040 magCalRemoveBias(&mTask.moc, xi, yi, zi, &x, &y, &z);