From a2f4995bdc4383d11af0f7941e82cfd05bff5ea9 Mon Sep 17 00:00:00 2001 From: bnsgeyer Date: Fri, 7 Jun 2024 23:11:25 -0400 Subject: [PATCH] Tools: add param file for x8 state space sim --- Tools/autotest/default_params/copter-x8.parm | 90 ++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 Tools/autotest/default_params/copter-x8.parm diff --git a/Tools/autotest/default_params/copter-x8.parm b/Tools/autotest/default_params/copter-x8.parm new file mode 100644 index 0000000000000..63261b0f44f79 --- /dev/null +++ b/Tools/autotest/default_params/copter-x8.parm @@ -0,0 +1,90 @@ +FRAME_CLASS 1 +FRAME_TYPE 0 +MOT_THST_EXPO 0.0 +MOT_THST_HOVER 0.39 +MOT_BAT_VOLT_MIN 0.0 +MOT_BAT_VOLT_MAX 0.0 +FS_THR_ENABLE 1 +ARSPD_PIN 1 +ARSPD_BUS 2 +ATC_RAT_YAW_P 0.3 +ATC_RAT_YAW_I 0.02 +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 +FENCE_RADIUS 150 +RC1_MAX 2000.000000 +RC1_MIN 1000.000000 +RC1_TRIM 1500.000000 +RC2_MAX 2000.000000 +RC2_MIN 1000.000000 +RC2_TRIM 1500.000000 +RC3_MAX 2000.000000 +RC3_MIN 1000.000000 +RC3_TRIM 1500.000000 +RC4_MAX 2000.000000 +RC4_MIN 1000.000000 +RC4_TRIM 1500.000000 +RC5_MAX 2000.000000 +RC5_MIN 1000.000000 +RC5_TRIM 1500.000000 +RC6_MAX 2000.000000 +RC6_MIN 1000.000000 +RC6_TRIM 1500.000000 +RC7_MAX 2000.000000 +RC7_MIN 1000.000000 +RC7_OPTION 7 +RC7_TRIM 1500.000000 +RC8_MAX 2000.000000 +RC8_MIN 1000.000000 +RC8_TRIM 1500.000000 +FLTMODE1 7 +FLTMODE2 9 +FLTMODE3 6 +FLTMODE4 3 +FLTMODE5 5 +FLTMODE6 0 +SIM_BARO_RND 0 +# 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 +# flightmodes +# switch 1 Circle +# switch 2 LAND +# switch 3 RTL +# switch 4 Auto +# switch 5 Loiter +# switch 6 Stab +# STABILIZE 0 ! +# ACRO 1 +# ALT_HOLD 2 +# AUTO 3 ! +# GUIDED 4 +# LOITER 5 ! +# RTL 6 ! +# CIRCLE 7 ! +# POSITION 8 +# LAND 9 !