From ff669ee645b98395da7cbc326bd542957b6014ec Mon Sep 17 00:00:00 2001 From: sanderux Date: Tue, 15 Aug 2017 10:12:12 +0200 Subject: [PATCH] Move vtol standard params --- .../vtol_att_control/standard_params.c | 26 +++++++++++++++++++ .../vtol_att_control_params.c | 26 ------------------- 2 files changed, 26 insertions(+), 26 deletions(-) diff --git a/src/modules/vtol_att_control/standard_params.c b/src/modules/vtol_att_control/standard_params.c index 88eaf25eff..94b14d22d4 100644 --- a/src/modules/vtol_att_control/standard_params.c +++ b/src/modules/vtol_att_control/standard_params.c @@ -84,3 +84,29 @@ PARAM_DEFINE_FLOAT(VT_FWD_THRUST_SC, 0.0f); * @group VTOL Attitude Control */ PARAM_DEFINE_FLOAT(VT_B_TRANS_RAMP, 3.0f); + +/** + * Output on airbrakes channel during back transition + * Used for airbrakes or with ESCs that have reverse thrust enabled on a seperate channel + * Airbrakes need to be enables for your selected model/mixer + * + * @min 0 + * @max 1 + * @increment 0.01 + * @decimal 2 + * @group VTOL Attitude Control + */ +PARAM_DEFINE_FLOAT(VT_B_REV_OUT, 0.0f); + +/** + * Thottle output during back transition + * For ESCs and mixers that support reverse thrust on low PWM values set this to a negative value to apply active breaking + * For ESCs that support thrust reversal with a control channel please set VT_B_REV_OUT and set this to a positive value to apply active breaking + * + * @min -1 + * @max 1 + * @increment 0.01 + * @decimal 2 + * @group VTOL Attitude Control + */ +PARAM_DEFINE_FLOAT(VT_B_REV_THR, 0.0f); 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 9e87362e5b..c8133e0955 100644 --- a/src/modules/vtol_att_control/vtol_att_control_params.c +++ b/src/modules/vtol_att_control/vtol_att_control_params.c @@ -235,32 +235,6 @@ PARAM_DEFINE_FLOAT(VT_B_TRANS_DUR, 4.0f); */ PARAM_DEFINE_FLOAT(VT_B_DEC_MSS, 2.0f); -/** - * Output on airbrakes channel during back transition - * Used for airbrakes or with ESCs that have reverse thrust enabled on a seperate channel - * Airbrakes need to be enables for your selected model/mixer - * - * @min 0 - * @max 1 - * @increment 0.01 - * @decimal 2 - * @group VTOL Attitude Control - */ -PARAM_DEFINE_FLOAT(VT_B_REV_OUT, 0.0f); - -/** - * Thottle output during back transition - * For ESCs and mixers that support reverse thrust on low PWM values set this to a negative value to apply active breaking - * For ESCs that support thrust reversal with a control channel please set VT_B_REV_OUT and set this to a positive value to apply active breaking - * - * @min -1 - * @max 1 - * @increment 0.01 - * @decimal 2 - * @group VTOL Attitude Control - */ -PARAM_DEFINE_FLOAT(VT_B_REV_THR, 0.0f); - /** * Transition blending airspeed *