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 authored and tridge committed Jul 29, 2024
1 parent e227187 commit b5c91a1
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 @@ -4376,7 +4376,7 @@ def TakeoffAuto1(self):
Conditions:
- ARSPD_USE=1
- TKOFF_TYPE=0
- TKOFF_OPTIONS[0]=0
- TKOFF_THR_MAX < THR_MAX
'''

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

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

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

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

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

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

Expand All @@ -4683,7 +4683,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 b5c91a1

Please sign in to comment.