mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-01 13:38:38 -04:00
Tools: autotest: do not set ARMING_RUDDER on sub and tracker
This commit is contained in:
parent
d93453f5f9
commit
6f52fa5622
@ -2088,7 +2088,8 @@ class AutoTest(ABC):
|
||||
def test_arm_feature(self):
|
||||
"""Common feature to test."""
|
||||
# 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
|
||||
if not self.is_heli(): # heli don't need interlock option
|
||||
interlock_channel = 9
|
||||
|
Loading…
Reference in New Issue
Block a user