mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-01 11:06:04 +08:00
FMUv2: Exclude some fixed wing targets
These are rarely used airframes that should not be missed.
This commit is contained in:
@@ -7,6 +7,8 @@
|
|||||||
# @type Flying Wing
|
# @type Flying Wing
|
||||||
# @class Plane
|
# @class Plane
|
||||||
#
|
#
|
||||||
|
# @board px4_fmu-v2 exclude
|
||||||
|
#
|
||||||
# @output MAIN1 left aileron
|
# @output MAIN1 left aileron
|
||||||
# @output MAIN2 right aileron
|
# @output MAIN2 right aileron
|
||||||
# @output MAIN4 throttle
|
# @output MAIN4 throttle
|
||||||
@@ -22,7 +24,7 @@ sh /etc/init.d/rc.fw_defaults
|
|||||||
|
|
||||||
if [ $AUTOCNF = yes ]
|
if [ $AUTOCNF = yes ]
|
||||||
then
|
then
|
||||||
|
|
||||||
####################################
|
####################################
|
||||||
# Airspeed
|
# Airspeed
|
||||||
####################################
|
####################################
|
||||||
@@ -30,13 +32,13 @@ then
|
|||||||
param set FW_AIRSPD_MIN 15 # = 29 knots
|
param set FW_AIRSPD_MIN 15 # = 29 knots
|
||||||
param set FW_AIRSPD_TRIM 20 # = 39 knots
|
param set FW_AIRSPD_TRIM 20 # = 39 knots
|
||||||
param set FW_AIRSPD_MAX 27 # = 52 knots
|
param set FW_AIRSPD_MAX 27 # = 52 knots
|
||||||
|
|
||||||
####################################
|
####################################
|
||||||
# The Main L1 Controller
|
# The Main L1 Controller
|
||||||
####################################
|
####################################
|
||||||
|
|
||||||
param set FW_L1_PERIOD 20 #units of meters
|
param set FW_L1_PERIOD 20 #units of meters
|
||||||
|
|
||||||
# Damping factor for L1 control (def = 0.75)
|
# Damping factor for L1 control (def = 0.75)
|
||||||
param set FW_L1_DAMPING 0.75
|
param set FW_L1_DAMPING 0.75
|
||||||
|
|
||||||
@@ -47,7 +49,7 @@ then
|
|||||||
# Basic limits (def = +/- 45 deg)
|
# Basic limits (def = +/- 45 deg)
|
||||||
param set FW_P_LIM_MAX 45
|
param set FW_P_LIM_MAX 45
|
||||||
param set FW_P_LIM_MIN -45
|
param set FW_P_LIM_MIN -45
|
||||||
|
|
||||||
# Time Constant (def = 0.4s)
|
# Time Constant (def = 0.4s)
|
||||||
param set FW_P_TC 0.4
|
param set FW_P_TC 0.4
|
||||||
|
|
||||||
@@ -72,7 +74,7 @@ then
|
|||||||
|
|
||||||
# Roll Time Constant (def = 0.4 s)
|
# Roll Time Constant (def = 0.4 s)
|
||||||
param set FW_R_TC 0.4
|
param set FW_R_TC 0.4
|
||||||
|
|
||||||
# Roll rate feed forward (def = 0.5 %/rad/sec)
|
# Roll rate feed forward (def = 0.5 %/rad/sec)
|
||||||
param set FW_RR_FF 0.5
|
param set FW_RR_FF 0.5
|
||||||
|
|
||||||
|
|||||||
@@ -5,6 +5,8 @@
|
|||||||
# @type Flying Wing
|
# @type Flying Wing
|
||||||
# @class Plane
|
# @class Plane
|
||||||
#
|
#
|
||||||
|
# @board px4_fmu-v2 exclude
|
||||||
|
#
|
||||||
# @output MAIN1 left aileron
|
# @output MAIN1 left aileron
|
||||||
# @output MAIN2 right aileron
|
# @output MAIN2 right aileron
|
||||||
# @output MAIN4 throttle
|
# @output MAIN4 throttle
|
||||||
|
|||||||
Reference in New Issue
Block a user