diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-11-02 09:19:11 -0700 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-11-02 09:19:11 -0700 |
commit | 2b2a85b75fb49da91055fe2dba9bbdc6695d8c83 (patch) | |
tree | 97f6976fcfea5744cfb1ceb4a5e37380257f88a5 | |
parent | 2fd1aed6be03de42d09c062871838ee7e852aa4a (diff) | |
parent | 3eac9ce1596f90acf2e86f807b1b4efd3904a80b (diff) | |
download | px4-firmware-2b2a85b75fb49da91055fe2dba9bbdc6695d8c83.tar.gz px4-firmware-2b2a85b75fb49da91055fe2dba9bbdc6695d8c83.tar.bz2 px4-firmware-2b2a85b75fb49da91055fe2dba9bbdc6695d8c83.zip |
Merge pull request #506 from thomasgubler/tecs_airspeedmax_param_fix
fix usage of wrong value for max airspeed parameter
-rw-r--r-- | src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp b/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp index ffa7915a7..a6653bfc7 100644 --- a/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp +++ b/src/modules/fw_pos_control_l1/fw_pos_control_l1_main.cpp @@ -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 */ |