BMX160 magnetometer calibration

Dear All.

I have configured the BMX160 driver based by git(https://github.com/boschsensortec/BMI160_driver) to raspberrypi4.

It has been working properly for accelerometer and gyroscope because roll and pitch values has precise value for all degrees.

Now, I have to calculate yaw angle for inertial navigation system using magnetometer under GPS/GNSS conditions.

When I read mag sensor data, It has with some offset values so I think magnetometer have to be calibrated to get more precise yaw angle.

Anyway, do I use BSX - full version to calibrate magnetometer?  Because genericbsxlite_v1-0-2.zip doesn't have API for magnetometer calibration.

Thanks.

 

 

 

Best reply by BSTRobin

Hi odeng250won,

Yes, BSXLite only support to calibrate accel, gyro. BSX-full version support to calibration acce, gyro, mag.

View original
1 reply
Resolved