forked from Archive/PX4-Autopilot
FW attitude controller: reduce FW_MAN_P_MAX from 45 to 30
45° is a very large pitch angle, and for me 30° is much more reasonable for a default value. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
parent
828992adf7
commit
d04f21aa16
|
@ -13,8 +13,6 @@ param set-default FW_LND_ANG 8
|
||||||
|
|
||||||
param set-default FW_L1_PERIOD 12
|
param set-default FW_L1_PERIOD 12
|
||||||
|
|
||||||
param set-default FW_MAN_P_MAX 30
|
|
||||||
|
|
||||||
param set-default FW_PR_P 0.9
|
param set-default FW_PR_P 0.9
|
||||||
param set-default FW_PR_FF 0.2
|
param set-default FW_PR_FF 0.2
|
||||||
param set-default FW_PSP_OFF 2
|
param set-default FW_PSP_OFF 2
|
||||||
|
|
|
@ -13,8 +13,6 @@ param set-default FW_LND_ANG 8
|
||||||
|
|
||||||
param set-default FW_L1_PERIOD 12
|
param set-default FW_L1_PERIOD 12
|
||||||
|
|
||||||
param set-default FW_MAN_P_MAX 30
|
|
||||||
|
|
||||||
param set-default FW_PR_P 0.9
|
param set-default FW_PR_P 0.9
|
||||||
param set-default FW_PR_FF 0.2
|
param set-default FW_PR_FF 0.2
|
||||||
param set-default FW_PSP_OFF 2
|
param set-default FW_PSP_OFF 2
|
||||||
|
|
|
@ -49,7 +49,6 @@ param set-default PWM_MAIN_FUNC7 202
|
||||||
param set-default PWM_MAIN_FUNC8 203
|
param set-default PWM_MAIN_FUNC8 203
|
||||||
|
|
||||||
param set-default FW_L1_PERIOD 12
|
param set-default FW_L1_PERIOD 12
|
||||||
param set-default FW_MAN_P_MAX 30
|
|
||||||
param set-default FW_PR_FF 0.2
|
param set-default FW_PR_FF 0.2
|
||||||
param set-default FW_PR_P 0.9
|
param set-default FW_PR_P 0.9
|
||||||
param set-default FW_PSP_OFF 2
|
param set-default FW_PSP_OFF 2
|
||||||
|
|
|
@ -44,7 +44,6 @@ param set-default PWM_MAIN_FUNC7 202
|
||||||
param set-default PWM_MAIN_REV 96 # invert both elevons
|
param set-default PWM_MAIN_REV 96 # invert both elevons
|
||||||
|
|
||||||
param set-default FW_L1_PERIOD 12
|
param set-default FW_L1_PERIOD 12
|
||||||
param set-default FW_MAN_P_MAX 30
|
|
||||||
param set-default FW_PR_I 0.2
|
param set-default FW_PR_I 0.2
|
||||||
param set-default FW_PR_P 0.2
|
param set-default FW_PR_P 0.2
|
||||||
param set-default FW_PSP_OFF 2
|
param set-default FW_PSP_OFF 2
|
||||||
|
|
|
@ -56,7 +56,6 @@ param set-default PWM_MAIN_FUNC10 202
|
||||||
param set-default PWM_MAIN_FUNC11 203
|
param set-default PWM_MAIN_FUNC11 203
|
||||||
|
|
||||||
param set-default FW_L1_PERIOD 12
|
param set-default FW_L1_PERIOD 12
|
||||||
param set-default FW_MAN_P_MAX 30
|
|
||||||
param set-default FW_PR_FF 0.2
|
param set-default FW_PR_FF 0.2
|
||||||
param set-default FW_PR_P 0.9
|
param set-default FW_PR_P 0.9
|
||||||
param set-default FW_PSP_OFF 2
|
param set-default FW_PSP_OFF 2
|
||||||
|
|
|
@ -8,7 +8,6 @@
|
||||||
. ${R}etc/init.d/rc.vtol_defaults
|
. ${R}etc/init.d/rc.vtol_defaults
|
||||||
|
|
||||||
param set-default FW_L1_PERIOD 12
|
param set-default FW_L1_PERIOD 12
|
||||||
param set-default FW_MAN_P_MAX 30
|
|
||||||
param set-default FW_PR_FF 0.2
|
param set-default FW_PR_FF 0.2
|
||||||
param set-default FW_PR_P 0.9
|
param set-default FW_PR_P 0.9
|
||||||
param set-default FW_PSP_OFF 2
|
param set-default FW_PSP_OFF 2
|
||||||
|
|
|
@ -38,7 +38,6 @@ param set-default FW_P_LIM_MAX 25
|
||||||
param set-default FW_P_LIM_MIN -5
|
param set-default FW_P_LIM_MIN -5
|
||||||
param set-default FW_R_LIM 30
|
param set-default FW_R_LIM 30
|
||||||
|
|
||||||
param set-default FW_MAN_P_MAX 30.0
|
|
||||||
param set-default FW_MAN_R_MAX 30.0
|
param set-default FW_MAN_R_MAX 30.0
|
||||||
|
|
||||||
param set-default FW_THR_TRIM 0.8
|
param set-default FW_THR_TRIM 0.8
|
||||||
|
|
|
@ -44,7 +44,6 @@ param set-default FW_P_LIM_MAX 25
|
||||||
param set-default FW_P_LIM_MIN -5
|
param set-default FW_P_LIM_MIN -5
|
||||||
param set-default FW_R_LIM 30
|
param set-default FW_R_LIM 30
|
||||||
|
|
||||||
param set-default FW_MAN_P_MAX 30.0
|
|
||||||
param set-default FW_MAN_R_MAX 30.0
|
param set-default FW_MAN_R_MAX 30.0
|
||||||
|
|
||||||
param set-default FW_THR_CRUISE 0.8
|
param set-default FW_THR_CRUISE 0.8
|
||||||
|
|
|
@ -55,7 +55,6 @@ param set-default FW_T_SINK_MIN 1
|
||||||
param set-default FW_T_VERT_ACC 6
|
param set-default FW_T_VERT_ACC 6
|
||||||
param set-default FW_THR_TRIM 0.70
|
param set-default FW_THR_TRIM 0.70
|
||||||
param set-default FW_THR_SLEW_MAX 1
|
param set-default FW_THR_SLEW_MAX 1
|
||||||
param set-default FW_MAN_P_MAX 30
|
|
||||||
param set-default FW_P_LIM_MAX 15
|
param set-default FW_P_LIM_MAX 15
|
||||||
param set-default FW_P_LIM_MIN -25
|
param set-default FW_P_LIM_MIN -25
|
||||||
param set-default FW_P_RMAX_NEG 45
|
param set-default FW_P_RMAX_NEG 45
|
||||||
|
|
|
@ -31,7 +31,6 @@ param set-default FW_AIRSPD_MAX 30
|
||||||
param set-default FW_AIRSPD_MIN 19
|
param set-default FW_AIRSPD_MIN 19
|
||||||
param set-default FW_AIRSPD_TRIM 23
|
param set-default FW_AIRSPD_TRIM 23
|
||||||
param set-default FW_L1_R_SLEW_MAX 40
|
param set-default FW_L1_R_SLEW_MAX 40
|
||||||
param set-default FW_MAN_P_MAX 30
|
|
||||||
param set-default FW_PSP_OFF 3
|
param set-default FW_PSP_OFF 3
|
||||||
param set-default FW_P_LIM_MAX 18
|
param set-default FW_P_LIM_MAX 18
|
||||||
param set-default FW_P_LIM_MIN -25
|
param set-default FW_P_LIM_MIN -25
|
||||||
|
|
|
@ -455,7 +455,7 @@ PARAM_DEFINE_FLOAT(FW_MAN_R_MAX, 45.0f);
|
||||||
* @increment 0.5
|
* @increment 0.5
|
||||||
* @group FW Attitude Control
|
* @group FW Attitude Control
|
||||||
*/
|
*/
|
||||||
PARAM_DEFINE_FLOAT(FW_MAN_P_MAX, 45.0f);
|
PARAM_DEFINE_FLOAT(FW_MAN_P_MAX, 30.0f);
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Flaps setting during take-off
|
* Flaps setting during take-off
|
||||||
|
|
Loading…
Reference in New Issue