autotest: recover from flip in althold to remove stabilise throttle problem

This commit is contained in:
Peter Barker 2021-02-12 20:28:12 +11:00 committed by Peter Barker
parent a4a5d52c35
commit 44ec74030e
1 changed files with 1 additions and 3 deletions

View File

@ -1728,10 +1728,8 @@ class AutoTestCopter(AutoTest):
self.wait_attitude(despitch=0, desroll=0, tolerance=5)
self.progress("Regaining altitude")
self.change_mode('STABILIZE')
self.set_rc(3, 1650)
self.change_mode('ALT_HOLD')
self.wait_for_alt(20, max_err=40)
self.hover()
self.progress("Flipping in pitch")
self.set_rc(2, 1700)