2021-03-18 00:12:54 -03:00
|
|
|
EK2_ENABLE 1
|
|
|
|
FRAME_TYPE 0
|
|
|
|
FS_THR_ENABLE 1
|
|
|
|
BATT_MONITOR 4
|
|
|
|
COMPASS_OFS_X 5
|
|
|
|
COMPASS_OFS_Y 13
|
|
|
|
COMPASS_OFS_Z -18
|
|
|
|
COMPASS_OFS2_X 5
|
|
|
|
COMPASS_OFS2_Y 13
|
|
|
|
COMPASS_OFS2_Z -18
|
|
|
|
COMPASS_OFS3_X 5
|
|
|
|
COMPASS_OFS3_Y 13
|
|
|
|
COMPASS_OFS3_Z -18
|
|
|
|
FRAME_CLASS 1
|
2021-08-06 01:09:28 -03:00
|
|
|
RC1_MAX 2000
|
|
|
|
RC1_MIN 1000
|
|
|
|
RC1_TRIM 1500
|
|
|
|
RC2_MAX 2000
|
|
|
|
RC2_MIN 1000
|
|
|
|
RC2_TRIM 1500
|
|
|
|
RC3_MAX 2000
|
|
|
|
RC3_MIN 1000
|
|
|
|
RC3_TRIM 1500
|
|
|
|
RC4_MAX 2000
|
|
|
|
RC4_MIN 1000
|
|
|
|
RC4_TRIM 1500
|
|
|
|
RC5_MAX 2000
|
|
|
|
RC5_MIN 1000
|
|
|
|
RC5_TRIM 1500
|
|
|
|
RC6_MAX 2000
|
|
|
|
RC6_MIN 1000
|
|
|
|
RC6_TRIM 1500
|
|
|
|
RC7_MAX 2000
|
|
|
|
RC7_MIN 1000
|
|
|
|
RC7_TRIM 1500
|
|
|
|
RC8_MAX 2000
|
|
|
|
RC8_MIN 1000
|
|
|
|
RC8_TRIM 1500
|
|
|
|
|
2021-03-18 00:12:54 -03:00
|
|
|
# setting servo functions for the four fins
|
|
|
|
SERVO1_FUNCTION 33
|
2021-08-06 01:09:28 -03:00
|
|
|
SERVO2_FUNCTION 34
|
|
|
|
SERVO3_FUNCTION 35
|
|
|
|
SERVO4_FUNCTION 36
|
|
|
|
|
|
|
|
FLTMODE1 0
|
|
|
|
FLTMODE2 1
|
|
|
|
FLTMODE3 2
|
|
|
|
FLTMODE4 3
|
|
|
|
FLTMODE5 1
|
|
|
|
FLTMODE6 1
|
2021-03-18 00:12:54 -03:00
|
|
|
|
|
|
|
SIM_BARO_RND 0
|
2021-08-06 01:09:28 -03:00
|
|
|
|
2021-03-18 00:12:54 -03:00
|
|
|
# we need small INS_ACC offsets so INS is recognised as being calibrated
|
|
|
|
INS_ACCOFFS_X 0.001
|
|
|
|
INS_ACCOFFS_Y 0.001
|
|
|
|
INS_ACCOFFS_Z 0.001
|
|
|
|
INS_ACCSCAL_X 1.001
|
|
|
|
INS_ACCSCAL_Y 1.001
|
|
|
|
INS_ACCSCAL_Z 1.001
|
|
|
|
INS_ACC2OFFS_X 0.001
|
|
|
|
INS_ACC2OFFS_Y 0.001
|
|
|
|
INS_ACC2OFFS_Z 0.001
|
|
|
|
INS_ACC2SCAL_X 1.001
|
|
|
|
INS_ACC2SCAL_Y 1.001
|
|
|
|
INS_ACC2SCAL_Z 1.001
|
|
|
|
INS_ACC3OFFS_X 0.000
|
|
|
|
INS_ACC3OFFS_Y 0.000
|
|
|
|
INS_ACC3OFFS_Z 0.000
|
|
|
|
INS_ACC3SCAL_X 1.000
|
|
|
|
INS_ACC3SCAL_Y 1.000
|
|
|
|
INS_ACC3SCAL_Z 1.000
|
2021-08-06 01:09:28 -03:00
|
|
|
|
|
|
|
ARMING_RUDDER 0
|
|
|
|
GCS_PID_MASK 255
|
2021-09-14 11:38:38 -03:00
|
|
|
|
|
|
|
# default PID params for position and velocity-controlled modes
|
|
|
|
MAX_POS_XY 0.3
|
|
|
|
MAX_POS_YAW 0.3
|
|
|
|
MAX_POS_Z 0.15
|
|
|
|
MAX_VEL_XY 0.4
|
|
|
|
MAX_VEL_YAW 0.5
|
|
|
|
MAX_VEL_Z 0.2
|
|
|
|
|
|
|
|
VELXY_D 0.0
|
|
|
|
VELXY_FF 0.0
|
|
|
|
VELXY_FLTD 3.0
|
|
|
|
VELXY_FLTE 3.0
|
|
|
|
VELXY_I 1.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