Searched refs:MagCal (Results 1 – 3 of 3) sorted by relevance
/device/google/contexthub/firmware/inc/algos/ |
D | mag_cal.h | 29 struct MagCal { struct 45 void initMagCal(struct MagCal *moc, argument 51 void destroy_mag_cal(struct MagCal *moc); 53 bool magCalUpdate(struct MagCal *moc, uint64_t sample_time_us, 56 void magCalGetBias(struct MagCal *moc, float *x, float *y, float *z); 58 void magCalAddBias(struct MagCal *moc, float x, float y, float z); 60 void magCalRemoveBias(struct MagCal *moc, float xi, float yi, float zi, 63 void magCalSetSoftiron(struct MagCal *moc, 68 void magCalRemoveSoftiron(struct MagCal *moc, float xi, float yi, float zi,
|
/device/google/contexthub/firmware/src/algos/ |
D | mag_cal.c | 36 static int moc_eigen_test(struct MagCal *moc) in moc_eigen_test() 67 static int moc_fit(struct MagCal *moc, struct Vec3 *bias, float *radius) in moc_fit() 112 static void moc_reset(struct MagCal *moc) in moc_reset() 123 static int moc_batch_complete(struct MagCal *moc, uint64_t sample_time_us) in moc_batch_complete() 140 void initMagCal(struct MagCal *moc, in initMagCal() 159 void destroy_mag_cal(struct MagCal *moc) in destroy_mag_cal() 164 bool magCalUpdate(struct MagCal *moc, uint64_t sample_time_us, in magCalUpdate() 242 void magCalGetBias(struct MagCal *moc, float *x, float *y, float *z) in magCalGetBias() 249 void magCalAddBias(struct MagCal *moc, float x, float y, float z) in magCalAddBias() 256 void magCalRemoveBias(struct MagCal *moc, float xi, float yi, float zi, in magCalRemoveBias() [all …]
|
/device/google/contexthub/firmware/src/drivers/bosch_bmi160/ |
D | bosch_bmi160.c | 372 struct MagCal moc;
|