From 403d51b39f8004f051e9937d68a33e538bb32b1b Mon Sep 17 00:00:00 2001 From: Paul Riseborough Date: Wed, 23 Nov 2022 13:24:06 +1100 Subject: [PATCH] AP_TECS: Remove unused TECS_LAND_PTRIM parameter --- libraries/AP_TECS/AP_TECS.cpp | 9 +-------- libraries/AP_TECS/AP_TECS.h | 1 - 2 files changed, 1 insertion(+), 9 deletions(-) diff --git a/libraries/AP_TECS/AP_TECS.cpp b/libraries/AP_TECS/AP_TECS.cpp index 4986e1bb99..8b30714707 100644 --- a/libraries/AP_TECS/AP_TECS.cpp +++ b/libraries/AP_TECS/AP_TECS.cpp @@ -264,14 +264,7 @@ const AP_Param::GroupInfo AP_TECS::var_info[] = { // @User: Advanced AP_GROUPINFO("PTCH_FF_K", 30, AP_TECS, _pitch_ff_k, 0.0), - // @Param: LAND_PTRIM - // @DisplayName: Pitch angle for level flight in landing configuration - // @Description: This sets the pitch angle required to fly straight and level with flaps and gear in the landing configuration. It is used to calculate the lower pitch limit applied during landing up until the flare. This can be set to the average value of the AOA.AOA log data taken from a landing approach. - // @Range: -10 15 - // @Units: deg - // @Increment: 1 - // @User: Advanced - AP_GROUPINFO("LAND_PTRIM", 31, AP_TECS, _land_pitch_trim, 0), + // 31 previously used by TECS_LAND_PTRIM // @Param: FLARE_HGT // @DisplayName: Flare holdoff height diff --git a/libraries/AP_TECS/AP_TECS.h b/libraries/AP_TECS/AP_TECS.h index 137baeaa2b..2607f885ea 100644 --- a/libraries/AP_TECS/AP_TECS.h +++ b/libraries/AP_TECS/AP_TECS.h @@ -196,7 +196,6 @@ private: AP_Int8 _land_pitch_max; AP_Float _maxSinkRate_approach; AP_Int32 _options; - AP_Int8 _land_pitch_trim; AP_Float _flare_holdoff_hgt; AP_Float _hgt_dem_tconst;