Fixed-wing autoland: Fix bug that could cause a steep pitch increase and thus aircraft stall during the flare (#9674)

This commit is contained in:
Philipp Oettershagen
2018-06-14 11:29:03 -04:00
committed by Daniel Agar
parent 23cd6adbe7
commit 753ad0e0df
2 changed files with 6 additions and 4 deletions
@@ -211,6 +211,7 @@ private:
hrt_abstime _time_last_t_alt{0}; ///< time at which we had last valid terrain alt */
float _flare_height{0.0f}; ///< estimated height to ground at which flare started */
float _flare_pitch_sp{0.0f}; ///< Current forced (i.e. not determined using TECS) flare pitch setpoint */
float _flare_curve_alt_rel_last{0.0f};
float _target_bearing{0.0f}; ///< estimated height to ground at which flare started */