From 65c287781f15e18281e6e4afdd69b13b63241182 Mon Sep 17 00:00:00 2001 From: Jaeyoung Lim Date: Fri, 10 Feb 2023 22:10:50 +0100 Subject: [PATCH] Set prearm mode --- .../init.d-posix/airframes/4004_gz_standard_vtol | 10 ++-------- 1 file changed, 2 insertions(+), 8 deletions(-) diff --git a/ROMFS/px4fmu_common/init.d-posix/airframes/4004_gz_standard_vtol b/ROMFS/px4fmu_common/init.d-posix/airframes/4004_gz_standard_vtol index bcb29ea1a9..5c3e5f7fca 100644 --- a/ROMFS/px4fmu_common/init.d-posix/airframes/4004_gz_standard_vtol +++ b/ROMFS/px4fmu_common/init.d-posix/airframes/4004_gz_standard_vtol @@ -18,6 +18,8 @@ param set-default FD_ACT_MOT_TOUT 500 param set-default CA_AIRFRAME 2 +param set-default COM_PREARM_MODE 2 + param set-default CA_ROTOR_COUNT 5 param set-default CA_ROTOR0_PX 0.1515 param set-default CA_ROTOR0_PY 0.245 @@ -66,14 +68,6 @@ param set-default CA_SV_CS1_TYPE 2 param set-default CA_SV_CS1_TRQ_R 0.5 param set-default CA_SV_CS2_TYPE 3 param set-default CA_SV_CS2_TRQ_P 1.0 -param set-default PWM_MAIN_FUNC1 101 -param set-default PWM_MAIN_FUNC2 102 -param set-default PWM_MAIN_FUNC3 103 -param set-default PWM_MAIN_FUNC4 104 -param set-default PWM_MAIN_FUNC5 105 -param set-default PWM_MAIN_FUNC6 201 -param set-default PWM_MAIN_FUNC7 202 -param set-default PWM_MAIN_FUNC8 203 param set-default FW_L1_PERIOD 12 param set-default FW_PR_FF 0.2