From bd9087e06032a014bdebcddd91254ad4c307fd2d Mon Sep 17 00:00:00 2001 From: Cole Perschon Date: Tue, 31 Oct 2023 00:51:33 -0700 Subject: [PATCH] Refactor _STEdot_... definitions --- libraries/AP_TECS/AP_TECS.h | 12 ++++-------- 1 file changed, 4 insertions(+), 8 deletions(-) diff --git a/libraries/AP_TECS/AP_TECS.h b/libraries/AP_TECS/AP_TECS.h index 025119be7ae836..b392a0bfc555be 100644 --- a/libraries/AP_TECS/AP_TECS.h +++ b/libraries/AP_TECS/AP_TECS.h @@ -349,14 +349,10 @@ class AP_TECS { // pitch demand before limiting float _pitch_dem_unc; - // Maximum specific total energy rate gain at cruise airspeed - float _STEdot_max; - - // Specific total energy rate loss at cruise airspeed - float _STEdot_min; - - // Specific total energy rate loss at maximum airspeed - float _STEdot_neg_max; + // Specific total energy rate limits + float _STEdot_max; // Specific total energy rate gain at cruise airspeed & THR_MAX (m/s/s) + float _STEdot_min; // Specific total energy rate loss at cruise airspeed & THR_MIN (m/s/s) + float _STEdot_neg_max; // Specific total energy rate loss at max airspeed & THR_MIN (m/s/s) // Maximum and minimum floating point throttle limits float _THRmaxf;