EKF3: algorithm/priority of IMU choice

Hi folks! Could someone please help me to clarify: what is exact default algorithm of choosing IMU which data is valid/the most relevant at the current moment? In EK3_IMU_ENABLE_MASK I choose all three IMUs (I do have three on my board), but how exactly does autopilot choose between all of them? As I am not a geek in programming all that I’ve found in code is this:

, and several lines below. But it’s still not clear.

Thanks in advance!

Read these

https://ardupilot.org/copter/docs/common-apm-navigation-extended-kalman-filter-overview.html
https://ardupilot.org/dev/docs/common-ek3-affinity-lane-switching.html

1 Like