diff --git a/src/modules/fw_att_control/fw_att_control_params.c b/src/modules/fw_att_control/fw_att_control_params.c index be0c73ac52..d4c89c53f3 100644 --- a/src/modules/fw_att_control/fw_att_control_params.c +++ b/src/modules/fw_att_control/fw_att_control_params.c @@ -244,3 +244,31 @@ PARAM_DEFINE_FLOAT(FW_PSP_OFF, 0.0f); * @group FW Attitude Control */ PARAM_DEFINE_FLOAT(FW_MAN_YR_MAX, 30.f); + +/** + * Maximum manual roll angle + * + * Maximum manual roll angle setpoint (positive & negative) in manual attitude-only stabilized mode + * + * @unit deg + * @min 0.0 + * @max 90.0 + * @decimal 1 + * @increment 0.5 + * @group FW Attitude Control + */ +PARAM_DEFINE_FLOAT(FW_MAN_R_MAX, 45.0f); + +/** + * Maximum manual pitch angle + * + * Maximum manual pitch angle setpoint (positive & negative) in manual attitude-only stabilized mode + * + * @unit deg + * @min 0.0 + * @max 90.0 + * @decimal 1 + * @increment 0.5 + * @group FW Attitude Control + */ +PARAM_DEFINE_FLOAT(FW_MAN_P_MAX, 30.0f); diff --git a/src/modules/fw_rate_control/FixedwingRateControl.hpp b/src/modules/fw_rate_control/FixedwingRateControl.hpp index a6ceaabf00..8a9a436274 100644 --- a/src/modules/fw_rate_control/FixedwingRateControl.hpp +++ b/src/modules/fw_rate_control/FixedwingRateControl.hpp @@ -166,9 +166,7 @@ private: (ParamFloat) _param_fw_dtrim_y_vmax, (ParamFloat) _param_fw_dtrim_y_vmin, - (ParamFloat) _param_fw_man_p_max, (ParamFloat) _param_fw_man_p_sc, - (ParamFloat) _param_fw_man_r_max, (ParamFloat) _param_fw_man_r_sc, (ParamFloat) _param_fw_man_y_sc, diff --git a/src/modules/fw_rate_control/fw_rate_control_params.c b/src/modules/fw_rate_control/fw_rate_control_params.c index 10d8172bdf..2e0f6e274c 100644 --- a/src/modules/fw_rate_control/fw_rate_control_params.c +++ b/src/modules/fw_rate_control/fw_rate_control_params.c @@ -484,20 +484,6 @@ PARAM_DEFINE_FLOAT(FW_DTRIM_Y_VMAX, 0.0f); */ PARAM_DEFINE_FLOAT(FW_MAN_R_SC, 1.0f); -/** - * Maximum manual pitch angle - * - * Maximum manual pitch angle setpoint (positive & negative) in manual attitude-only stabilized mode - * - * @unit deg - * @min 0.0 - * @max 90.0 - * @decimal 1 - * @increment 0.5 - * @group FW Attitude Control - */ -PARAM_DEFINE_FLOAT(FW_MAN_P_MAX, 30.0f); - /** * Manual pitch scale * @@ -512,20 +498,6 @@ PARAM_DEFINE_FLOAT(FW_MAN_P_MAX, 30.0f); */ PARAM_DEFINE_FLOAT(FW_MAN_P_SC, 1.0f); -/** - * Maximum manual roll angle - * - * Maximum manual roll angle setpoint (positive & negative) in manual attitude-only stabilized mode - * - * @unit deg - * @min 0.0 - * @max 90.0 - * @decimal 1 - * @increment 0.5 - * @group FW Attitude Control - */ -PARAM_DEFINE_FLOAT(FW_MAN_R_MAX, 45.0f); - /** * Manual yaw scale *