mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-07-12 18:10:36 +08:00
FW Position Control: keep flaps in landing config during abort if below AIRSPD_MIN (#23877)
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -1316,7 +1316,15 @@ FixedwingPositionControl::control_auto_loiter(const float control_interval, cons
|
||||
|
||||
} else {
|
||||
// continue straight until vehicle has sufficient altitude
|
||||
// keep flaps in landing configuration if the airspeed is below the min airspeed (keep deployed if airspeed not valid)
|
||||
roll_body = 0.0f;
|
||||
|
||||
if (!_airspeed_valid || _airspeed_eas < _performance_model.getMinimumCalibratedAirspeed()) {
|
||||
_flaps_setpoint = _param_fw_flaps_lnd_scl.get();
|
||||
|
||||
} else {
|
||||
_flaps_setpoint = 0.f;
|
||||
}
|
||||
}
|
||||
|
||||
is_low_height = true; // In low-height flight, TECS will control altitude tighter
|
||||
|
||||
Reference in New Issue
Block a user