Question about the AHRS2 and AHRS3

Hi all.

I have a question while reading the mavlink messages for AHRS2 and AHRS3.
I searched imformation on the forum and found the results of roll, yaw, pitch in AHRS2 and AHRS3 show a slightly difference.
Can anyone explain why there is such a difference? What is the reason for this result?

Thanks for your help!

Hi @Neve,

In short, different AHRS instances are run using different IMUs and/or different algorithms, and the ‘most trusted’ (by its data consistency) is used by the flight controller (the results of which appear in the ATTITUDE message). They aren’t expected to be exactly matched, and they may have quite significant differences.

I’m not actually sure on the specifics for which AHRS is using what (since it depends on the flight controller board and the firmware in use), but I’m aware that