mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-21 23:33:57 -04:00
Tools: modify heli autotest to prevent autorotation test failure
This commit is contained in:
parent
127f1296de
commit
ee5fee268f
@ -362,8 +362,12 @@ class AutoTestHelicopter(AutoTestCopter):
|
||||
timeout=timeout)
|
||||
self.context_collect('STATUSTEXT')
|
||||
self.progress("Triggering autorotate by raising interlock")
|
||||
self.set_rc(3, 1000)
|
||||
self.set_rc(8, 1000)
|
||||
|
||||
self.wait_statustext("SS Glide Phase", check_context=True)
|
||||
|
||||
self.change_mode('STABILIZE')
|
||||
self.wait_statustext(r"SIM Hit ground at ([0-9.]+) m/s",
|
||||
check_context=True,
|
||||
regex=True)
|
||||
@ -962,6 +966,8 @@ class AutoTestHelicopter(AutoTestCopter):
|
||||
|
||||
def tests(self):
|
||||
'''return list of all tests'''
|
||||
ret = ([self.AutoRotation, self.ManAutoRotation,])
|
||||
return ret
|
||||
ret = vehicle_test_suite.TestSuite.tests(self)
|
||||
ret.extend([
|
||||
self.AVCMission,
|
||||
|
Loading…
Reference in New Issue
Block a user