mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
autotest: revert SIM_SPEEDUP for RTL in follow test
This commit is contained in:
parent
56a865147d
commit
2c3594b8ff
@ -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):
|
||||
|
Loading…
Reference in New Issue
Block a user