autotest: paper over problem with EKF heading not recovering

# the following line papers over a probably problem with the
        # EKF recovering from bad compass offsets.  Without it, the
        # EKF will maintain a 10-degree offset from the true compass
        # heading seemingly indefinitely.
This commit is contained in:
Peter Barker 2023-09-01 17:15:54 +10:00 committed by Andrew Tridgell
parent 3120788cba
commit e872a8fd6f

View File

@ -12961,6 +12961,11 @@ switch value'''
self.assert_prearm_failure("Compasses inconsistent")
self.context_pop()
self.wait_ready_to_arm()
# the following line papers over a probably problem with the
# EKF recovering from bad compass offsets. Without it, the
# EKF will maintain a 10-degree offset from the true compass
# heading seemingly indefinitely.
self.reboot_sitl()
def AHRS_ORIENTATION(self):
'''test AHRS_ORIENTATION parameter works'''