From 94d62384badcb664d13e0957715902fd39d15159 Mon Sep 17 00:00:00 2001 From: Leonard Hall Date: Tue, 9 Jul 2024 08:35:51 +0930 Subject: [PATCH] autotest: Fix ShipOps Tests --- Tools/autotest/arducopter.py | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/Tools/autotest/arducopter.py b/Tools/autotest/arducopter.py index 139128439d637..9781478116d01 100644 --- a/Tools/autotest/arducopter.py +++ b/Tools/autotest/arducopter.py @@ -8050,7 +8050,7 @@ def current_value_getter(): target=mavextra.wrap_180(angle), current_value_getter=current_value_getter, accuracy=5, - timeout=30, + timeout=300, minimum_duration=5, ) self.context_pop() @@ -8195,7 +8195,9 @@ def ShipOps_PayloadPlace(self): # grip_rc_channel = 8 self.set_rc(8, 2000) # grab self.load_params_file("ShipLanding.param") - self.reboot_sitl(startup_location_dist_max=1000) # for gripper + self.customise_SITL_commandline( + ["--home", "Jervis_Bay"] + ) # FIXME: change to mode shipops before ready to arm (code # needs to be fixed....)