mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-02-08 08:53:56 -04:00
Tools: autotest: do not set ARMING_RUDDER on sub and tracker
This commit is contained in:
parent
d93453f5f9
commit
6f52fa5622
@ -2088,6 +2088,7 @@ 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
|
||||||
|
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user