autotest: fixed race condition in Copter.MinAltFenceAvoid

This commit is contained in:
Andrew Tridgell 2024-12-10 13:55:21 +11:00
parent c9e9b13404
commit 6173356b13
1 changed files with 1 additions and 0 deletions

View File

@ -1728,6 +1728,7 @@ class AutoTestCopter(vehicle_test_suite.TestSuite):
"FENCE_ALT_MIN": 20, "FENCE_ALT_MIN": 20,
"FENCE_ACTION": 0, "FENCE_ACTION": 0,
}) })
self.reboot_sitl()
self.takeoff(30, mode="LOITER") self.takeoff(30, mode="LOITER")
"""Hold loiter position.""" """Hold loiter position."""