Skip to content

Commit

Permalink
autotest: Converted parameter TKOFF_MODE to TKOFF_OPTIONS
Browse files Browse the repository at this point in the history
  • Loading branch information
Georacer committed Jul 25, 2024
1 parent fa03001 commit 04ec2b9
Showing 1 changed file with 12 additions and 12 deletions.
24 changes: 12 additions & 12 deletions Tools/autotest/arduplane.py
Original file line number Diff line number Diff line change
Expand Up @@ -4162,7 +4162,7 @@ def TakeoffAuto1(self):
Conditions:
- ARSPD_USE=1
- TKOFF_TYPE=0
- TKOFF_OPTIONS[0]=0
- TKOFF_THR_MAX < THR_MAX
'''

Expand Down Expand Up @@ -4207,7 +4207,7 @@ def TakeoffAuto2(self):
Conditions:
- ARSPD_USE=1
- TKOFF_MODE=0
- TKOFF_OPTIONS[0]=0
- TKOFF_THR_MAX > THR_MAX
'''

Expand Down Expand Up @@ -4252,7 +4252,7 @@ def TakeoffAuto3(self):
Conditions:
- ARSPD_USE=1
- TKOFF_MODE=1
- TKOFF_OPTIONS[0]=1
'''

self.customise_SITL_commandline(
Expand All @@ -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,
Expand Down Expand Up @@ -4301,7 +4301,7 @@ def TakeoffAuto4(self):
Conditions:
- ARSPD_USE=0
- TKOFF_MODE=1
- TKOFF_OPTIONS[0]=1
'''

self.customise_SITL_commandline(
Expand All @@ -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,
Expand Down Expand Up @@ -4352,7 +4352,7 @@ def TakeoffTakeoff1(self):
Conditions:
- ARSPD_USE=1
- TKOFF_MODE=0
- TKOFF_OPTIONS[0]=0
- TKOFF_THR_MAX < THR_MAX
'''

Expand All @@ -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,
Expand Down Expand Up @@ -4402,7 +4402,7 @@ def TakeoffTakeoff2(self):
Conditions:
- ARSPD_USE=1
- TKOFF_MODE=1
- TKOFF_OPTIONS[0]=1
- TKOFF_THR_MAX < THR_MAX
'''

Expand All @@ -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,
Expand Down Expand Up @@ -4455,7 +4455,7 @@ def TakeoffTakeoff3(self):
Conditions:
- ARSPD_USE=0
- TKOFF_MODE=0
- TKOFF_OPTIONS[0]=0
- TKOFF_THR_MAX < THR_MAX
'''

Expand All @@ -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,
Expand Down

0 comments on commit 04ec2b9

Please sign in to comment.