autotest: revert SIM_SPEEDUP for RTL in follow test

This commit is contained in:
Peter Barker 2024-06-06 13:37:46 +10:00 committed by Peter Barker
parent 56a865147d
commit 2c3594b8ff

View File

@ -7578,6 +7578,7 @@ class AutoTestCopter(vehicle_test_suite.TestSuite):
"FOLL_OFS_TYPE": 1, # relative to other vehicle heading
})
self.takeoff(10, mode="LOITER")
self.context_push()
self.set_parameter("SIM_SPEEDUP", 1)
self.change_mode("FOLLOW")
new_loc = self.mav.location()
@ -7626,6 +7627,7 @@ class AutoTestCopter(vehicle_test_suite.TestSuite):
self.progress("position delta=%f (want <%f)" % (delta, max_delta))
if delta < max_delta:
break
self.context_pop()
self.do_RTL()
def get_global_position_int(self, timeout=30):