2023-03-07 10:37:01 -04:00
|
|
|
# parameters for Foxtech AYK320
|
|
|
|
|
|
|
|
# airspeed
|
2024-01-18 01:37:42 -04:00
|
|
|
AIRSPEED_MAX 35
|
|
|
|
AIRSPEED_MIN 18
|
2024-01-17 22:34:22 -04:00
|
|
|
AIRSPEED_CRUISE 23.00
|
2023-03-07 10:37:01 -04:00
|
|
|
TRIM_THROTTLE 60
|
|
|
|
|
|
|
|
# notch filter
|
|
|
|
INS_HNTCH_ENABLE 1
|
|
|
|
INS_HNTCH_ATT 50.000000
|
|
|
|
INS_HNTCH_BW 38.000000
|
|
|
|
INS_HNTCH_ENABLE 1.000000
|
|
|
|
INS_HNTCH_FREQ 75.000000
|
|
|
|
INS_HNTCH_HMNCS 15.000000
|
|
|
|
INS_HNTCH_MODE 1.000000
|
|
|
|
INS_HNTCH_REF 0.337000
|
|
|
|
|
|
|
|
# fixed wing limits
|
2024-01-19 19:10:24 -04:00
|
|
|
PTCH_LIM_MIN_DEG -20.00
|
2024-01-18 21:59:10 -04:00
|
|
|
ROLL_LIMIT_DEG 40.00
|
2023-03-07 10:37:01 -04:00
|
|
|
LEVEL_ROLL_LIMIT 12
|
|
|
|
|
|
|
|
FBWB_CLIMB_RATE 5
|
|
|
|
WP_LOITER_RAD 250
|
|
|
|
WP_RADIUS 200
|
|
|
|
RTL_RADIUS 200
|
|
|
|
|
|
|
|
# fixed wing tune
|
|
|
|
RLL2SRV_RMAX 75
|
|
|
|
RLL_RATE_D 0.009886
|
|
|
|
RLL_RATE_FF 0.442834
|
|
|
|
RLL_RATE_FLTD 12.5
|
|
|
|
RLL_RATE_FLTT 3.183099
|
|
|
|
RLL_RATE_I 0.442834
|
|
|
|
RLL_RATE_P 0.385863
|
|
|
|
RLL_RATE_SMAX 100
|
|
|
|
|
|
|
|
PTCH2SRV_RMAX_DN 75
|
|
|
|
PTCH2SRV_RMAX_UP 75
|
|
|
|
PTCH2SRV_TCONST 0.75
|
|
|
|
PTCH_RATE_D 0.027
|
|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
|
2024-01-18 22:23:18 -04:00
|
|
|
Q_LAND_FINAL_SPD 0.40
|
2023-03-07 10:37:01 -04:00
|
|
|
Q_M_BAT_IDX 1
|
|
|
|
Q_M_BAT_VOLT_MAX 50.4
|
|
|
|
Q_M_BAT_VOLT_MIN 40
|
|
|
|
Q_M_THST_HOVER 0.338
|
|
|
|
|
|
|
|
# soften VTOL position controller
|
|
|
|
Q_P_POSXY_P 0.5
|
|
|
|
Q_P_VELXY_D 0.17
|
|
|
|
Q_P_VELXY_I 0.35
|
|
|
|
Q_P_VELXY_P 0.7
|
|
|
|
|
|
|
|
Q_RTL_ALT 40
|
|
|
|
Q_TRANS_DECEL 1.5
|
|
|
|
Q_TRANS_FAIL 20
|
2024-01-18 22:36:06 -04:00
|
|
|
Q_PILOT_SPD_UP 2.00
|
|
|
|
Q_PILOT_SPD_UP 1.30
|
2023-03-07 10:37:01 -04:00
|
|
|
Q_VFWD_ALT 6
|
|
|
|
Q_VFWD_GAIN 0.05
|
|
|
|
Q_WVANE_GAIN 0.3
|
|
|
|
Q_WVANE_TAKEOFF 0
|
|
|
|
|
|
|
|
# servo setup
|
|
|
|
SERVO1_REVERSED 1
|
|
|
|
SERVO2_FUNCTION 79
|
|
|
|
SERVO2_REVERSED 1
|
|
|
|
SERVO4_FUNCTION 80
|
|
|
|
SERVO_AUTO_TRIM 1
|