From 7e5e8259f3bc644185569cb2292fd5ebd6bb532f Mon Sep 17 00:00:00 2001 From: Jonathan Hahn Date: Fri, 4 Sep 2020 21:11:31 +0200 Subject: [PATCH] fw_pos_control_l1: fix swapped TECS time parameters (#15685) Co-authored-by: Jonathan Hahn --- src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp b/src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp index 30c32d0a81..1109b82e6a 100644 --- a/src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp +++ b/src/modules/fw_pos_control_l1/FixedwingPositionControl.cpp @@ -98,8 +98,8 @@ FixedwingPositionControl::parameters_update() _tecs.set_speed_weight(_param_fw_t_spdweight.get()); _tecs.set_indicated_airspeed_min(_param_fw_airspd_min.get()); _tecs.set_indicated_airspeed_max(_param_fw_airspd_max.get()); - _tecs.set_time_const_throt(_param_fw_t_time_const.get()); - _tecs.set_time_const(_param_fw_t_thro_const.get()); + _tecs.set_time_const_throt(_param_fw_t_thro_const.get()); + _tecs.set_time_const(_param_fw_t_time_const.get()); _tecs.set_min_sink_rate(_param_fw_t_sink_min.get()); _tecs.set_throttle_damp(_param_fw_t_thr_damp.get()); _tecs.set_integrator_gain(_param_fw_t_integ_gain.get());