Tools: fixup EKF source pre-arm test
although setting COMPASS_USE/2/3 to zero disables the pre-arm for EK3_SRCx_YAW = 1 (Compass) the pre-arm still triggers if EK3_SRCx_YAW = 3 (External Compass Fallback)
This commit is contained in:
parent
20f1603b73
commit
d964fa2307
@ -5533,7 +5533,7 @@ class AutoTestCopter(AutoTest):
|
||||
|
||||
self.context_push()
|
||||
self.start_subtest("missing required yaw source")
|
||||
self.set_parameter("EK3_SRC3_YAW", 1)
|
||||
self.set_parameter("EK3_SRC3_YAW", 3) # External Yaw with Compass Fallback
|
||||
self.set_parameter("COMPASS_USE", 0)
|
||||
self.set_parameter("COMPASS_USE2", 0)
|
||||
self.set_parameter("COMPASS_USE3", 0)
|
||||
|
Loading…
Reference in New Issue
Block a user