Tools: autotest: wait for EKF to be happy after returning its GPS
This commit is contained in:
parent
6d6eb1f751
commit
b61bfd663f
@ -2610,6 +2610,7 @@ class AutoTest(ABC):
|
||||
want_result=mavutil.mavlink.MAV_RESULT_FAILED
|
||||
)
|
||||
self.set_parameter("SIM_GPS_DISABLE", 0)
|
||||
self.wait_ekf_happy() # EKF may stay unhappy for a while
|
||||
self.progress("PASS not able to arm without Position in mode : %s" % mode)
|
||||
if mode in self.get_no_position_not_settable_modes_list():
|
||||
self.progress("Setting mode need Position : %s" % mode)
|
||||
|
Loading…
Reference in New Issue
Block a user