Skip to content

Commit 5b53213

Browse files
committed
AP_TECS: Allow lower min. speed on landing final
Previously the TECS never allowed for a speed demand outside of the navigation airspeed range (AIRSPEED_MIN to AIRSPEED_MAX), even on landing final. This can be too fast for touchdown if a conservative AIRSPEED_MIN is used, which might be preferable for other phases of flight. This commit lowers the min. airspeed to AIRSPEED_STALL, if set, during landing final only. Using a value of TECS_LAND_ARSPD or LAND_PF_ARSPD lower than AIRSPEED_MIN, it enables slower touchdowns while ensuring the rest of the flight remains safely at or above AIRSPEED_MIN.
1 parent e92e7d4 commit 5b53213

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

libraries/AP_TECS/AP_TECS.cpp

+4
Original file line numberDiff line numberDiff line change
@@ -411,6 +411,10 @@ void AP_TECS::_update_speed(float DT)
411411
_TASmax = MIN(_TASmax, aparm.airspeed_max * EAS2TAS);
412412
_TASmin = aparm.airspeed_min * EAS2TAS;
413413

414+
if (_landing.is_on_final() && is_positive(aparm.airspeed_stall)) {
415+
_TASmin = aparm.airspeed_stall * EAS2TAS;
416+
}
417+
414418
if (aparm.stall_prevention) {
415419
// when stall prevention is active we raise the minimum
416420
// airspeed based on aerodynamic load factor

0 commit comments

Comments
 (0)