Tools: autotest: do not set ARMING_RUDDER on sub and tracker

This commit is contained in:
Peter Barker 2019-03-29 16:07:55 +11:00 committed by Peter Barker
parent d93453f5f9
commit 6f52fa5622
1 changed files with 2 additions and 1 deletions

View File

@ -2088,7 +2088,8 @@ class AutoTest(ABC):
def test_arm_feature(self): def test_arm_feature(self):
"""Common feature to test.""" """Common feature to test."""
# TEST ARMING/DISARM # TEST ARMING/DISARM
self.set_parameter("ARMING_RUDDER", 2) # allow arm and disarm with rudder on first tests if not self.is_sub() and not self.is_tracker():
self.set_parameter("ARMING_RUDDER", 2) # allow arm and disarm with rudder on first tests
interlock_channel = 8 # Plane got flighmode_ch on channel 8 interlock_channel = 8 # Plane got flighmode_ch on channel 8
if not self.is_heli(): # heli don't need interlock option if not self.is_heli(): # heli don't need interlock option
interlock_channel = 9 interlock_channel = 9