From 53e980bada4bdacdcef4183cb0318b211c850d8b Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Tue, 29 Jun 2021 16:30:48 +1000 Subject: [PATCH] autotest: add test for two consecutive drops with no reboot --- Tools/autotest/arducopter.py | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index a270b6418e..5d8c874758 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -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')