11-03-2022 12:32 PM
Hello,
I want to know how to calibrate all sensors (acc, gyro, mag) on BHI260AP. Is there a sample code for this? If not, what functions can I use. I would be very happy if you explain in order. bhy2_get_calibration_profile I guess I need to use functions like this. I want to find the bias, scale, misorientation values.
Secondly, I want a calibration method for the Magnetometer that will eliminate the soft and hard-iron effects. How can I do it. Thank you very much for your support. I can really move forward with your help.
Kind regards,
11-09-2022 03:47 AM
Hi uuranbey,
You can refer to the calibration method from here: https://www.youtube.com/watch?v=Bw0WuAyGsnY
Refer to the attachment code to install and enable acc, gyro, mag, euler virtual sensor ID.
The calibration accuracy will be updated in the callback function. When all calibration accuracy are 3, you can use bhy2_get_calibration_profile() to get the calibration profile and save it.