Browse Source

Tools: autotest: wait for EKF to be happy after returning its GPS

mission-4.1.18
Peter Barker 6 years ago committed by Peter Barker
parent
commit
b61bfd663f
  1. 1
      Tools/autotest/common.py

1
Tools/autotest/common.py

@ -2610,6 +2610,7 @@ class AutoTest(ABC): @@ -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…
Cancel
Save