mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-09 09:28:31 -04:00
autotest: fixed qassist test
need non-neutral ailerons to trigger roll
This commit is contained in:
parent
585a6a6967
commit
c8641bd246
@ -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)
|
||||||
|
Loading…
Reference in New Issue
Block a user