mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-20 04:53: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>
54 lines
1.1 KiB
Bash
54 lines
1.1 KiB
Bash
#!/bin/sh
|
|
#
|
|
# @name Modified Parrot Disco
|
|
#
|
|
# @url
|
|
#
|
|
# @type Flying Wing
|
|
# @class Plane
|
|
#
|
|
# @output MAIN1 left aileron
|
|
# @output MAIN2 right aileron
|
|
# @output MAIN4 throttle
|
|
#
|
|
# @output AUX1 feed-through of RC AUX1 channel
|
|
# @output AUX2 feed-through of RC AUX2 channel
|
|
# @output AUX3 feed-through of RC AUX3 channel
|
|
#
|
|
# @maintainer Jan Liphardt <JTLiphardt@gmail.com>
|
|
#
|
|
# @board px4_fmu-v2 exclude
|
|
# @board bitcraze_crazyflie exclude
|
|
#
|
|
|
|
. ${R}etc/init.d/rc.fw_defaults
|
|
|
|
####################################
|
|
# Airspeed
|
|
####################################
|
|
param set-default FW_AIRSPD_MAX 27 # = 52 knots
|
|
|
|
####################################
|
|
# Pitch
|
|
####################################
|
|
|
|
# Pitch rate feed forward (def = 0.5 %/rad/sec)
|
|
param set-default FW_PR_FF 0.35
|
|
|
|
####################################
|
|
# Roll
|
|
####################################
|
|
|
|
# Basic limits (def = 50 deg)
|
|
param set-default FW_R_LIM 40
|
|
|
|
# Roll rate upper limit (def = 70 deg/s)
|
|
param set-default FW_R_RMAX 50
|
|
|
|
param set-default PWM_MAIN_DISARM 1000
|
|
|
|
set MIXER fw_generic_wing.main.mix
|
|
|
|
# Provide ESC a constant 1000 us pulse
|
|
set PWM_OUT 4
|