autotest: fly a bit higher in optical flow test

test was occasionally hitting the ground
This commit is contained in:
Andrew Tridgell 2020-11-09 13:02:24 +11:00
parent 7568639af7
commit 1a1ca7cca7

View File

@ -1757,7 +1757,7 @@ class AutoTestCopter(AutoTest):
self.reboot_sitl()
# we can't takeoff in loiter as we need flow healthy
self.takeoff(alt_min=3, mode='ALT_HOLD', require_absolute=False, takeoff_throttle=1800)
self.takeoff(alt_min=5, mode='ALT_HOLD', require_absolute=False, takeoff_throttle=1800)
self.change_mode('LOITER')
# speed should be limited to <10m/s