Homepage Knowledgebase GitHub

HMC5883L Magnetometer publish

Hello.
I am working on libcanard using HMC5883L and stm32f103 bluepill board following babel tutorial. My doubt is regards Calibration on mag sensor. Should i do calibration inside my code and publish the calibrated mag field strength ? or should i just need to send the raw value which is multiplied with sensitivity? I am running HMC5883L at 1.3ga where sensitivity is 1090.

Should i need to do NED correction before publishing the data?

Fixed the problem. working fine.

1 Like