AP_TECS: allow zero throttle in flare for landing
This commit is contained in:
parent
6c1eed0a20
commit
a6ca11facf
@ -736,7 +736,10 @@ void AP_TECS::update_pitch_throttle(int32_t hgt_dem_cm,
|
||||
}
|
||||
if (flight_stage == FLIGHT_LAND_FINAL) {
|
||||
// in flare use min pitch from LAND_PITCH_CD
|
||||
_PITCHminf = max(_PITCHminf, aparm.land_pitch_cd * 0.01f);
|
||||
_PITCHminf = max(_PITCHminf, aparm.land_pitch_cd * 0.01f);
|
||||
|
||||
// and allow zero throttle
|
||||
_THRminf = 0;
|
||||
}
|
||||
// convert to radians
|
||||
_PITCHmaxf = radians(_PITCHmaxf);
|
||||
|
Loading…
Reference in New Issue
Block a user