mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 14:43:34 +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>
27 lines
430 B
Bash
27 lines
430 B
Bash
#!/bin/sh
|
|
#
|
|
# @name Quadrotor X Tailsitter
|
|
#
|
|
# @type VTOL Quad Tailsitter
|
|
# @class VTOL
|
|
#
|
|
# @maintainer Roman Bapst <roman@px4.io>
|
|
#
|
|
# @board px4_fmu-v2 exclude
|
|
# @board bitcraze_crazyflie exclude
|
|
#
|
|
|
|
. ${R}etc/init.d/rc.vtol_defaults
|
|
|
|
|
|
param set-default PWM_MAIN_MAX 2000
|
|
|
|
param set-default VT_MOT_ID 1234
|
|
param set-default VT_IDLE_PWM_MC 1080
|
|
param set-default VT_TYPE 0
|
|
set MAV_TYPE 20
|
|
|
|
set MIXER quad_x_vtol
|
|
|
|
set PWM_OUT 1234
|