Tools: autotest: stop trying to arm Heli in throw mode

This commit is contained in:
Peter Barker 2019-08-06 16:09:40 +10:00 committed by Peter Barker
parent c0e8d319c6
commit bca35ac469
1 changed files with 7 additions and 0 deletions

View File

@ -3698,6 +3698,13 @@ class AutoTestHeli(AutoTestCopter):
ret[3] = 1000 # collective
return ret
@staticmethod
def get_position_armable_modes_list():
'''filter THROW mode out of armable modes list; Heli is special-cased'''
ret = AutoTestCopter.get_position_armable_modes_list()
ret = filter(lambda x : x != "THROW", ret)
return ret
def loiter_requires_position(self):
self.progress("Skipping loiter-requires-position for heli; rotor runup issues")