mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-03 06:28:27 -04:00
autotest: correct MANUAL test
Wasn't picking up that subsequent channels were acting just like the first
This commit is contained in:
parent
1d6d78c0d4
commit
160621d0be
@ -92,11 +92,10 @@ class AutoTestTracker(AutoTest):
|
|||||||
|
|
||||||
def MANUAL(self):
|
def MANUAL(self):
|
||||||
self.change_mode(0) # "MANUAL"
|
self.change_mode(0) # "MANUAL"
|
||||||
for x in 1200, 1600:
|
for chan in 1, 2:
|
||||||
self.set_rc(1, x);
|
for pwm in 1200, 1600, 1367:
|
||||||
self.set_rc(2, x);
|
self.set_rc(chan, pwm);
|
||||||
self.wait_servo_channel_value(1, x)
|
self.wait_servo_channel_value(chan, pwm)
|
||||||
self.wait_servo_channel_value(2, x)
|
|
||||||
|
|
||||||
def SERVOTEST(self):
|
def SERVOTEST(self):
|
||||||
self.change_mode(0) # "MANUAL"
|
self.change_mode(0) # "MANUAL"
|
||||||
|
Loading…
Reference in New Issue
Block a user