autotest: fixed qassist test

need non-neutral ailerons to trigger roll
This commit is contained in:
Andrew Tridgell 2020-07-13 12:00:59 +10:00
parent 585a6a6967
commit c8641bd246

View File

@ -456,10 +456,10 @@ class AutoTestQuadPlane(AutoTest):
self.set_rc(1, 1000) self.set_rc(1, 1000)
self.wait_roll(-65, 5) self.wait_roll(-65, 5)
self.progress("Killing servo outputs to force qassist to help") self.progress("Killing servo outputs to force qassist to help")
self.set_parameter("SERVO1_MIN", 1500) self.set_parameter("SERVO1_MIN", 1480)
self.set_parameter("SERVO1_MAX", 1500) self.set_parameter("SERVO1_MAX", 1480)
self.set_parameter("SERVO1_TRIM", 1500) self.set_parameter("SERVO1_TRIM", 1480)
self.progress("Trying ot roll over hard the other way") self.progress("Trying to roll over hard the other way")
self.set_rc(1, 2000) self.set_rc(1, 2000)
self.progress("Waiting for qassist (angle) to kick in") self.progress("Waiting for qassist (angle) to kick in")
self.wait_servo_channel_value(5, 1100, timeout=30, comparator=operator.gt) self.wait_servo_channel_value(5, 1100, timeout=30, comparator=operator.gt)