autotest: add test for two consecutive drops with no reboot

This commit is contained in:
Peter Barker 2021-06-29 16:30:48 +10:00 committed by Randy Mackay
parent 416c0724d2
commit 53e980bada
1 changed files with 4 additions and 3 deletions

View File

@ -6939,7 +6939,8 @@ class AutoTestCopter(AutoTest):
self.wait_altitude(100, 1000, timeout=100, relative=True)
self.context_collect('STATUSTEXT')
self.wait_statustext("throw detected - uprighting", check_context=True, timeout=10)
self.wait_statustext("throw detected - spooling motors", check_context=True, timeout=10)
self.wait_statustext("throttle is unlimited - uprighting", check_context=True)
self.wait_statustext("uprighted - controlling height", check_context=True)
self.wait_statustext("height achieved - controlling position", check_context=True)
self.progress("Waiting for still")
@ -6966,8 +6967,8 @@ class AutoTestCopter(AutoTest):
pass
self.wait_altitude(100, 1000, timeout=100, relative=True)
self.context_collect('STATUSTEXT')
self.wait_statustext("throw detected - uprighting", check_context=True, timeout=10)
self.wait_statustext("throw detected - spooling motors", check_context=True, timeout=10)
self.wait_statustext("throttle is unlimited - uprighting", check_context=True)
self.wait_statustext("uprighted - controlling height", check_context=True)
self.wait_statustext("height achieved - controlling position", check_context=True)
self.wait_mode('AUTO')