2021-08-07 03:47:58 -03:00
|
|
|
|
|
|
|
BATT_MONITOR 4
|
|
|
|
BATT_VOLT_MULT 6.52
|
|
|
|
BATT_AMP_PERVLT 15.7
|
|
|
|
BATT_CAPACITY 5500
|
|
|
|
|
|
|
|
Q_ENABLE 1
|
|
|
|
Q_FRAME_CLASS 1
|
2021-09-02 15:40:36 -03:00
|
|
|
Q_TAILSIT_ENABLE 2
|
|
|
|
|
2021-08-07 03:47:58 -03:00
|
|
|
SERVO1_FUNCTION 33
|
|
|
|
SERVO2_FUNCTION 34
|
|
|
|
SERVO3_FUNCTION 35
|
|
|
|
SERVO4_FUNCTION 36
|
|
|
|
Q_OPTIONS 128
|
|
|
|
|
2021-10-19 21:13:07 -03:00
|
|
|
#Second IMU seems to give better results on this board
|
|
|
|
EK3_PRIMARY 1
|
|
|
|
|
2021-08-07 03:47:58 -03:00
|
|
|
# RC input is SBUS on serial4 TX pin
|
|
|
|
SERIAL4_PROTOCOL 23
|
|
|
|
SERIAL4_OPTIONS 8
|
|
|
|
|
|
|
|
RC1_MIN 1050
|
|
|
|
RC1_MAX 1950
|
|
|
|
RC2_MIN 1050
|
|
|
|
RC2_MAX 1950
|
|
|
|
RC3_MIN 1050
|
|
|
|
RC3_MAX 1950
|
2021-09-02 15:40:36 -03:00
|
|
|
RC3_TRIM 1500
|
|
|
|
RC4_MIN 1125
|
|
|
|
RC4_MAX 1875
|
2021-08-07 03:47:58 -03:00
|
|
|
|
2021-08-17 07:40:05 -03:00
|
|
|
THR_MIN 5
|
2021-08-07 03:47:58 -03:00
|
|
|
|
|
|
|
ARMING_RUDDER 2
|
|
|
|
|
2022-12-13 07:45:57 -04:00
|
|
|
ARSPD_TUBE_ORDR 0
|
2021-08-07 03:47:58 -03:00
|
|
|
ARSPD_USE 1
|
|
|
|
|
2024-01-18 01:58:08 -04:00
|
|
|
RTL_ALTITUDE 30.00
|
2024-01-18 01:37:41 -04:00
|
|
|
AIRSPEED_MAX 25
|
|
|
|
AIRSPEED_MIN 8
|
2021-08-07 03:47:58 -03:00
|
|
|
ARSPD_RATIO 1.9
|
2024-01-18 21:59:10 -04:00
|
|
|
ROLL_LIMIT_DEG 40.00
|
2021-09-26 22:57:28 -03:00
|
|
|
|
|
|
|
# the HWing can become unstable at high speeds. Limit pitch angle
|
|
|
|
# to prevent overspeed
|
2024-01-18 21:51:33 -04:00
|
|
|
PITCH_LIM_MAX_DEG 45.00
|
|
|
|
PITCH_LIM_MIN_DEG -15.00
|
2021-08-07 03:47:58 -03:00
|
|
|
|
|
|
|
# setup left 3-pos switch for QHOVER, QLOITER and FBWA
|
|
|
|
FLTMODE1 18
|
|
|
|
FLTMODE4 19
|
|
|
|
FLTMODE6 5
|
|
|
|
FLTMODE_CH 5
|
|
|
|
|
|
|
|
# setup a harmonic notch filter to reduce noise
|
|
|
|
INS_GYRO_FILTER 30
|
|
|
|
INS_HNTCH_ATT 40
|
|
|
|
INS_HNTCH_BW 49
|
|
|
|
INS_HNTCH_ENABLE 1
|
|
|
|
INS_HNTCH_FREQ 99
|
2022-02-22 20:22:04 -04:00
|
|
|
INS_HNTCH_HMNCS 7
|
2021-08-07 03:47:58 -03:00
|
|
|
INS_HNTCH_MODE 1
|
|
|
|
INS_HNTCH_OPTS 1
|
|
|
|
INS_HNTCH_REF 0.4560
|
|
|
|
|
|
|
|
# no rudder mixing
|
|
|
|
KFF_RDDRMIX 0
|
|
|
|
|
|
|
|
# reasonable attitude limits
|
2024-01-18 21:51:33 -04:00
|
|
|
PITCH_LIM_MAX_DEG 40.00
|
2021-08-07 03:47:58 -03:00
|
|
|
LOG_FILE_DSRMROT 1
|
|
|
|
|
|
|
|
# lower logging rate a bit to make logs faster to fetch
|
|
|
|
# using a USB cable
|
|
|
|
LOG_FILE_RATEMAX 50
|
|
|
|
|
|
|
|
# tuning
|
2021-08-17 07:40:05 -03:00
|
|
|
RLL2SRV_TCONST 0.25
|
2021-09-02 15:40:36 -03:00
|
|
|
PTCH2SRV_TCONST 0.5
|
2021-08-07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
Q_WP_ACCEL 250
|
2021-08-17 07:40:05 -03:00
|
|
|
Q_WP_ACCEL_Z 300
|
2021-08-07 03:47:58 -03:00
|
|
|
Q_WP_JERK 2
|
|
|
|
Q_WP_SPEED 900
|
2021-08-17 07:40:05 -03:00
|
|
|
Q_A_THR_MIX_MAN 2
|
|
|
|
Q_A_THR_MIX_MAX 2
|
|
|
|
Q_A_THR_MIX_MIN 0.3
|
2021-08-07 03:47:58 -03:00
|
|
|
|
|
|
|
# Q flight options
|
|
|
|
Q_RTL_MODE 3
|
|
|
|
Q_TRANS_DECEL 2.5
|
|
|
|
|
2021-09-02 15:40:36 -03:00
|
|
|
# QRTL on 'B' button
|
|
|
|
RC8_OPTION 4
|
2021-08-07 03:47:58 -03:00
|
|
|
|
|
|
|
RC_OPTIONS 32
|
|
|
|
|
|
|
|
# slow down for landing approach
|
|
|
|
TECS_LAND_ARSPD 8
|
|
|
|
|
|
|
|
# 16 m/s target airspeed in auto modes
|
2024-01-18 01:25:01 -04:00
|
|
|
AIRSPEED_CRUISE 16.00
|
2021-09-02 15:40:36 -03:00
|
|
|
TRIM_THROTTLE 29
|
2021-08-17 07:40:05 -03:00
|
|
|
|
|
|
|
# 2nd lane tends to be better
|
|
|
|
EK3_PRIMARY 1
|