diff --git a/src/modules/vtol_att_control/vtol_att_control_params.c b/src/modules/vtol_att_control/vtol_att_control_params.c index 34b1d598f3..85908e2571 100644 --- a/src/modules/vtol_att_control/vtol_att_control_params.c +++ b/src/modules/vtol_att_control/vtol_att_control_params.c @@ -338,23 +338,9 @@ PARAM_DEFINE_FLOAT(VT_FW_DIFTHR_S_P, 1.f); */ PARAM_DEFINE_FLOAT(VT_FW_DIFTHR_S_Y, 0.1f); -/** - * Backtransition deceleration setpoint to pitch feedforward gain. - * - * - * @unit rad s^2/m - * @min 0 - * @max 0.2 - * @decimal 2 - * @increment 0.01 - * @group VTOL Attitude Control - */ -PARAM_DEFINE_FLOAT(VT_B_DEC_FF, 0.f); - /** * Backtransition deceleration setpoint to pitch I gain. * - * * @unit rad s/m * @min 0 * @max 0.3 diff --git a/src/modules/vtol_att_control/vtol_type.cpp b/src/modules/vtol_att_control/vtol_type.cpp index 92c3672f0a..0a558b0ec6 100644 --- a/src/modules/vtol_att_control/vtol_type.cpp +++ b/src/modules/vtol_att_control/vtol_type.cpp @@ -176,7 +176,7 @@ float VtolType::update_and_get_backtransition_pitch_sp() // get accel error, positive means decelerating too slow, need to pitch up (must reverse dec_max, as it is a positive number) const float accel_error_forward = dec_sp + accel_body_forward; - const float pitch_sp_new = _param_vt_b_dec_ff.get() * dec_sp + _accel_to_pitch_integ; + const float pitch_sp_new = _accel_to_pitch_integ; float integrator_input = _param_vt_b_dec_i.get() * accel_error_forward; diff --git a/src/modules/vtol_att_control/vtol_type.h b/src/modules/vtol_att_control/vtol_type.h index d8f3de8620..84dfbe6d00 100644 --- a/src/modules/vtol_att_control/vtol_type.h +++ b/src/modules/vtol_att_control/vtol_type.h @@ -335,7 +335,6 @@ protected: (ParamFloat) _param_vt_fw_difthr_s_y, (ParamFloat) _param_vt_fw_difthr_s_p, (ParamFloat) _param_vt_fw_difthr_s_r, - (ParamFloat) _param_vt_b_dec_ff, (ParamFloat) _param_vt_b_dec_i, (ParamFloat) _param_vt_b_dec_mss,