Home
last modified time | relevance | path

Searched refs:MagCal (Results 1 – 7 of 7) sorted by relevance

/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_cal/
Dmag_cal.h66 struct MagCal { struct
83 void initMagCal(struct MagCal *moc, argument
87 void magCalDestroy(struct MagCal *moc);
89 enum MagUpdate magCalUpdate(struct MagCal *moc, uint64_t sample_time_us,
92 void magCalGetBias(const struct MagCal *moc, float *x, float *y, float *z);
94 void magCalAddBias(struct MagCal *moc, float x, float y, float z);
96 void magCalRemoveBias(struct MagCal *moc, float xi, float yi, float zi,
99 void magCalSetSoftiron(struct MagCal *moc, float c00, float c01, float c02,
103 void magCalRemoveSoftiron(struct MagCal *moc, float xi, float yi, float zi,
106 void magCalReset(struct MagCal *moc);
Dmag_cal.c84 void magCalReset(struct MagCal *moc) { in magCalReset()
91 static bool moc_batch_complete(struct MagCal *moc, uint64_t sample_time_us) { in moc_batch_complete()
107 void initMagCal(struct MagCal *moc, in initMagCal()
139 void magCalDestroy(struct MagCal *moc) { (void)moc; } in magCalDestroy()
141 enum MagUpdate magCalUpdate(struct MagCal *moc, uint64_t sample_time_us, in magCalUpdate()
229 void magCalGetBias(const struct MagCal *moc, float *x, float *y, float *z) { in magCalGetBias()
235 void magCalAddBias(struct MagCal *moc, float x, float y, float z) { in magCalAddBias()
241 void magCalRemoveBias(struct MagCal *moc, float xi, float yi, float zi, in magCalRemoveBias()
248 void magCalSetSoftiron(struct MagCal *moc, float c00, float c01, float c02, in magCalSetSoftiron()
262 void magCalRemoveSoftiron(struct MagCal *moc, float xi, float yi, float zi, in magCalRemoveSoftiron()
/device/google/contexthub/firmware/os/algos/calibration/online_calibration/magnetometer/mag_diverse_cal/
Dmag_diverse_cal.h75 const MagCal& get_mag_cal() const { return mag_cal_; } in get_mag_cal()
79 MagCal mag_cal_;
/device/google/contexthub/firmware/os/algos/calibration/magnetometer/mag_sphere_fit_cal/
Dmag_sphere_fit.h38 struct MagCal moc;
/device/google/contexthub/firmware/os/drivers/st_mag40/
Dst_mag40.c229 struct MagCal moc;
/device/google/contexthub/firmware/os/drivers/bosch_bmi160/
Dbosch_bmi160.c522 struct MagCal moc;
/device/google/contexthub/firmware/os/drivers/st_lsm6dsm/
Dst_lsm6dsm.c870 struct MagCal magnCal;