mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 16:03:33 +08:00
Remove params from airframe configs that are just set again to the param default value or to the value that is specified in the mc_default, fw_default or vtol_default. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
38 lines
633 B
Bash
38 lines
633 B
Bash
#!/bin/sh
|
|
#
|
|
# @name Generic Quadplane VTOL
|
|
#
|
|
# @type Standard 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 bitcraze_crazyflie exclude
|
|
#
|
|
|
|
. ${R}etc/init.d/rc.vtol_defaults
|
|
|
|
|
|
param set-default PWM_AUX_DIS5 950
|
|
|
|
param set-default VT_TYPE 2
|
|
param set-default VT_MOT_ID 1234
|
|
param set-default VT_FW_MOT_OFFID 1234
|
|
set MAV_TYPE 22
|
|
|
|
set MIXER quad_x
|
|
set MIXER_AUX vtol_AAERT
|
|
|
|
set PWM_OUT 1234
|