From 08c36612b32e94544a6601b59bfb478c7ed17c3e Mon Sep 17 00:00:00 2001 From: Konrad Date: Tue, 8 Nov 2022 11:28:57 +0100 Subject: [PATCH] TECS: Updated throttle control for airspeed sensorless vehicles. It includes the P gain controller instead of feedforward only. I term is still disabled. --- src/lib/tecs/TECS.cpp | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/lib/tecs/TECS.cpp b/src/lib/tecs/TECS.cpp index 793909285a..84adfa813c 100644 --- a/src/lib/tecs/TECS.cpp +++ b/src/lib/tecs/TECS.cpp @@ -504,10 +504,6 @@ void TECSControl::_updateThrottleSetpoint(float dt, const SpecificEnergy &se, co // Add the integrator feedback during closed loop operation with an airspeed sensor throttle_setpoint += _throttle_integ_state; - } else { - // when flying without an airspeed sensor, use the predicted throttle only - throttle_setpoint = throttle_predicted; - } // ramp in max throttle setting with underspeediness value