autotest: tweak tweak timeout on proximity test

half this allowed time was going on actually getthing the EKF happy
This commit is contained in:
Peter Barker 2023-07-15 11:55:56 +10:00 committed by Peter Barker
parent 74199d75c0
commit 277d16831d

View File

@ -6915,9 +6915,11 @@ class AutoTestCopter(AutoTest):
})
self.set_analog_rangefinder_parameters()
self.reboot_sitl()
tstart = self.get_sim_time()
self.change_mode('LOITER')
self.wait_ekf_happy()
tstart = self.get_sim_time()
while True:
if self.armed():
break
@ -6934,6 +6936,7 @@ class AutoTestCopter(AutoTest):
255 # covariance
)
self.send_mavlink_arm_command()
self.takeoff(15, mode='LOITER')
self.progress("Poking vehicle; should avoid")