ROMFS: standard VTOL: enable CA by default and remove legacy mixer

Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
Silvan Fuhrer 2022-07-21 09:36:11 +02:00 committed by Daniel Agar
parent 607c53e873
commit ab58717313
1 changed files with 11 additions and 34 deletions

View File

@ -1,22 +1,10 @@
#!/bin/sh #!/bin/sh
# #
# @name Generic Quadplane VTOL # @name Generic Standard VTOL
# #
# @type Standard VTOL # @type Standard VTOL
# @class VTOL # @class VTOL
#
# @maintainer
#
# @output MAIN1 motor 1
# @output MAIN2 motor 2
# @output MAIN3 motor 3
# @output MAIN4 motor 4
# @output AUX1 Aileron 1
# @output AUX2 Aileron 2
# @output AUX3 Elevator
# @output AUX4 Rudder
# @output AUX5 Throttle
#
# @board px4_fmu-v2 exclude # @board px4_fmu-v2 exclude
# @board bitcraze_crazyflie exclude # @board bitcraze_crazyflie exclude
# @board holybro_kakutef7 exclude # @board holybro_kakutef7 exclude
@ -24,21 +12,21 @@
. ${R}etc/init.d/rc.vtol_defaults . ${R}etc/init.d/rc.vtol_defaults
param set-default SYS_CTRL_ALLOC 1
param set-default CA_AIRFRAME 2 param set-default CA_AIRFRAME 2
param set-default CA_ROTOR_COUNT 5 param set-default CA_ROTOR_COUNT 5
param set-default CA_ROTOR0_PX 0.15 param set-default CA_ROTOR0_PX 1
param set-default CA_ROTOR0_PY 0.15 param set-default CA_ROTOR0_PY 1
param set-default CA_ROTOR1_PX -0.15 param set-default CA_ROTOR1_PX -1
param set-default CA_ROTOR1_PY -0.15 param set-default CA_ROTOR1_PY -1
param set-default CA_ROTOR2_PX 0.15 param set-default CA_ROTOR2_PX 1
param set-default CA_ROTOR2_PY -0.15 param set-default CA_ROTOR2_PY -1
param set-default CA_ROTOR2_KM -0.05 param set-default CA_ROTOR2_KM -0.05
param set-default CA_ROTOR3_PX -0.15 param set-default CA_ROTOR3_PX -1
param set-default CA_ROTOR3_PY 0.15 param set-default CA_ROTOR3_PY 1
param set-default CA_ROTOR3_KM -0.05 param set-default CA_ROTOR3_KM -0.05
param set-default CA_ROTOR4_AX 1.0 param set-default CA_ROTOR4_AX 1.0
param set-default CA_ROTOR4_AZ 0.0 param set-default CA_ROTOR4_AZ 0.0
param set-default CA_ROTOR4_PX 0.2
param set-default CA_SV_CS_COUNT 4 param set-default CA_SV_CS_COUNT 4
param set-default CA_SV_CS0_TYPE 1 param set-default CA_SV_CS0_TYPE 1
param set-default CA_SV_CS0_TRQ_R -0.5 param set-default CA_SV_CS0_TRQ_R -0.5
@ -48,16 +36,5 @@ param set-default CA_SV_CS2_TYPE 3
param set-default CA_SV_CS2_TRQ_P 1.0 param set-default CA_SV_CS2_TRQ_P 1.0
param set-default CA_SV_CS3_TRQ_Y 1.0 param set-default CA_SV_CS3_TRQ_Y 1.0
param set-default CA_SV_CS3_TYPE 4 param set-default CA_SV_CS3_TYPE 4
param set-default PWM_AUX_DIS5 950
param set-default VT_TYPE 2 param set-default VT_TYPE 2
param set-default VT_MOT_ID 1234
param set-default VT_FW_MOT_OFFID 1234
param set-default MAV_TYPE 22 param set-default MAV_TYPE 22
set MIXER quad_x
set MIXER_AUX vtol_AAERT
set PWM_OUT 1234