Merge pull request #506 from thomasgubler/tecs_airspeedmax_param_fix

fix usage of wrong value for max airspeed parameter
This commit is contained in:
Lorenz Meier 2013-11-02 09:19:11 -07:00
commit 2b2a85b75f
1 changed files with 1 additions and 1 deletions

View File

@ -451,7 +451,7 @@ FixedwingPositionControl::parameters_update()
_tecs.set_speed_weight(_parameters.speed_weight);
_tecs.set_pitch_damping(_parameters.pitch_damping);
_tecs.set_indicated_airspeed_min(_parameters.airspeed_min);
_tecs.set_indicated_airspeed_max(_parameters.airspeed_min);
_tecs.set_indicated_airspeed_max(_parameters.airspeed_max);
_tecs.set_max_climb_rate(_parameters.max_climb_rate);
/* sanity check parameters */