change flare pitch setpoint

This commit is contained in:
Thomas Gubler
2013-11-02 15:13:03 +01:00
parent 4b2e08a850
commit 5fec5fecdc
@@ -795,7 +795,7 @@ FixedwingPositionControl::control_position(const math::Vector2f &current_positio
/* apply minimum pitch (flare) and limit roll if close to touch down, altitude error is negative (going down) */
// XXX this could make a great param
float flare_angle_rad = math::radians(10.0f);//math::radians(global_triplet.current.param1)
float flare_angle_rad = -math::radians(5.0f);//math::radians(global_triplet.current.param1)
float land_pitch_min = math::radians(5.0f);
float throttle_land = _parameters.throttle_min + (_parameters.throttle_max - _parameters.throttle_min) * 0.1f;
float airspeed_land = _parameters.airspeed_min;