From 46d41e5995dd3e6c70915823a2381befc01118e9 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Fri, 11 Nov 2022 21:51:29 +1100 Subject: [PATCH] autoest: fixed spelling and adjust max error for aerobatics --- Tools/autotest/arduplane.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index 444aebbfc7..3c5553d381 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -4011,8 +4011,8 @@ class AutoTestPlane(AutoTest): if m.name != 'PERR': continue highest_error = max(highest_error, m.value) - if highest_error > 12: - raise NotAchievedException("path error %.1f" % m.value) + if highest_error > 15: + raise NotAchievedException("path error %.1f" % highest_error) if highest_error == 0: raise NotAchievedException("path error not reported") @@ -4028,7 +4028,7 @@ class AutoTestPlane(AutoTest): # check all messages to see if we got all tricks tricks = ["Loop", "HalfReverseCubanEight", "ScaleFigureEight", "Immelmann", "Split-S", "RollingCircle", "HumptyBump", "HalfCubanEight", - "BarrellRoll", "HalfReverseCubanEight", + "BarrelRoll", "HalfReverseCubanEight", "Finishing SuperAirShow!"] texts = [m.text for m in messages] for t in tricks: