autotest: correct fettec test

need to wait for accels/gyros to be healthy
This commit is contained in:
Peter Barker 2023-02-22 22:16:07 +11:00 committed by Peter Barker
parent 4591895540
commit e494c40b61
1 changed files with 1 additions and 0 deletions

View File

@ -9190,6 +9190,7 @@ class AutoTestCopter(AutoTest):
self.context_push()
self.set_parameter("SERVO_FTW_MASK", mask)
self.reboot_sitl()
self.delay_sim_time(12) # allow accels/gyros to be happy
tstart = self.get_sim_time()
while True:
if self.get_sim_time_cached() - tstart > 20: