From 04ec2b983067258598a04c7ffbd8d39ca2748af5 Mon Sep 17 00:00:00 2001 From: George Zogopoulos Date: Thu, 25 Jul 2024 21:29:35 +0200 Subject: [PATCH] autotest: Converted parameter TKOFF_MODE to TKOFF_OPTIONS --- Tools/autotest/arduplane.py | 24 ++++++++++++------------ 1 file changed, 12 insertions(+), 12 deletions(-) diff --git a/Tools/autotest/arduplane.py b/Tools/autotest/arduplane.py index 6356129df06b9..4958f1504672d 100644 --- a/Tools/autotest/arduplane.py +++ b/Tools/autotest/arduplane.py @@ -4162,7 +4162,7 @@ def TakeoffAuto1(self): Conditions: - ARSPD_USE=1 - - TKOFF_TYPE=0 + - TKOFF_OPTIONS[0]=0 - TKOFF_THR_MAX < THR_MAX ''' @@ -4207,7 +4207,7 @@ def TakeoffAuto2(self): Conditions: - ARSPD_USE=1 - - TKOFF_MODE=0 + - TKOFF_OPTIONS[0]=0 - TKOFF_THR_MAX > THR_MAX ''' @@ -4252,7 +4252,7 @@ def TakeoffAuto3(self): Conditions: - ARSPD_USE=1 - - TKOFF_MODE=1 + - TKOFF_OPTIONS[0]=1 ''' self.customise_SITL_commandline( @@ -4264,7 +4264,7 @@ def TakeoffAuto3(self): "ARSPD_USE": 1.0, "THR_MAX": 80.0, "THR_MIN": 0.0, - "TKOFF_MODE": 1.0, + "TKOFF_OPTIONS": 1.0, "TKOFF_THR_MAX": 100.0, "TKOFF_THR_MINACC": 3.0, "TECS_PITCH_MAX": 35.0, @@ -4301,7 +4301,7 @@ def TakeoffAuto4(self): Conditions: - ARSPD_USE=0 - - TKOFF_MODE=1 + - TKOFF_OPTIONS[0]=1 ''' self.customise_SITL_commandline( @@ -4313,7 +4313,7 @@ def TakeoffAuto4(self): "ARSPD_USE": 0.0, "THR_MAX": 80.0, "THR_MIN": 0.0, - "TKOFF_MODE": 1.0, + "TKOFF_OPTIONS": 1.0, "TKOFF_THR_MAX": 100.0, "TKOFF_THR_MINACC": 3.0, "TECS_PITCH_MAX": 35.0, @@ -4352,7 +4352,7 @@ def TakeoffTakeoff1(self): Conditions: - ARSPD_USE=1 - - TKOFF_MODE=0 + - TKOFF_OPTIONS[0]=0 - TKOFF_THR_MAX < THR_MAX ''' @@ -4366,7 +4366,7 @@ def TakeoffTakeoff1(self): "THR_MAX": 100.0, "TKOFF_LVL_ALT": 30.0, "TKOFF_ALT": 100.0, - "TKOFF_MODE": 0.0, + "TKOFF_OPTIONS": 0.0, "TKOFF_THR_MINACC": 3.0, "TKOFF_THR_MAX": 80.0, "TECS_PITCH_MAX": 35.0, @@ -4402,7 +4402,7 @@ def TakeoffTakeoff2(self): Conditions: - ARSPD_USE=1 - - TKOFF_MODE=1 + - TKOFF_OPTIONS[0]=1 - TKOFF_THR_MAX < THR_MAX ''' @@ -4416,7 +4416,7 @@ def TakeoffTakeoff2(self): "THR_MAX": 100.0, "TKOFF_LVL_ALT": 80.0, "TKOFF_ALT": 150.0, - "TKOFF_MODE": 1.0, + "TKOFF_OPTIONS": 1.0, "TKOFF_THR_MINACC": 3.0, "TKOFF_THR_MAX": 80.0, "TECS_PITCH_MAX": 35.0, @@ -4455,7 +4455,7 @@ def TakeoffTakeoff3(self): Conditions: - ARSPD_USE=0 - - TKOFF_MODE=0 + - TKOFF_OPTIONS[0]=0 - TKOFF_THR_MAX < THR_MAX ''' @@ -4469,7 +4469,7 @@ def TakeoffTakeoff3(self): "THR_MAX": 100.0, "TKOFF_LVL_ALT": 30.0, "TKOFF_ALT": 100.0, - "TKOFF_MODE": 0.0, + "TKOFF_OPTIONS": 0.0, "TKOFF_THR_MINACC": 3.0, "TKOFF_THR_MAX": 80.0, "TECS_PITCH_MAX": 35.0,