2023-06-29 06:25 AM
I would like to calibrate 2 magnetic sensors concurrently with MotionMC library. However, the functions from the library for MotionMC_Initialize, MotionMC_Update and MotionMC_GetCalParams do not need inputting an ID. If calibrate 2 sensors in the same time or power cycle, whether will HI_Bias[3] and SF_Matrix[3][3] coefficients be overwritten?
I do appreciate any idea for calibrating 2 magnetic sensors in same time with MotionMC library.
Qingshan
2023-07-11 04:54 AM
Hi @QShan.1 ,
what you want to do is feasible, you have to write a function to which you feed also the sensor ID, that keeps track of the 2 different HI_Bias[3] and SF_Matrix[3][3] for the different sensors.
if you managed to perform the calibration of one sensor, this would be quite easy
If this answers your question, please, mark this as "best answer", by clicking on the "accept as solution" to help the other users of the community
Niccolò