From 70c6f49613180cd83f20037fdff00e43daf63434 Mon Sep 17 00:00:00 2001 From: Peter Barker Date: Fri, 11 Aug 2023 11:13:26 +1000 Subject: [PATCH] autotest: disarm vehicle in exception handle for PrecLand test --- Tools/autotest/arducopter.py | 1 + 1 file changed, 1 insertion(+) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 5bb69c8c82..5b20be886f 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -4613,6 +4613,7 @@ class AutoTestCopter(AutoTest): except Exception as e: self.print_exception_caught(e) + self.disarm_vehicle(force=True) ex = e self.context_pop()