mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-17 00:23:33 +08:00
- landing slope/curve library removed - flare curve removed (the position setpoints will not be tracked during a flare, and were being ignored by open-loop maneuvers anyway) - flare curve replaced by simply commanding a constant glide slope to the ground from the approach entrance, and commanding a sink rate once below flaring alt - flare is now time-to-touchdown -based to account for differing descent rates (e.g. due to wind) - flare pitch limits and height rate commands are ramped in from the previous iteration's values at flare onset to avoid jumpy commands - TECS controls all aspects of the auto landing airspeed and altitude/height rate, and is only constrained by pitch and throttle limits (lessening unintuitive open loop manuever overrides) - throttle is killed on flare - flare is the singular point of no return during landing - lateral manual nudging of the touchdown point is configurable via parameter, allowing the operator to nudge (via remote) either the touchdown point itself (adjusting approach vector) or shifting the entire approach path to the left or right. this helps when GCS map or GNSS uncertainties set the aircraft on a slightly offset approach"
46 lines
1.0 KiB
Bash
46 lines
1.0 KiB
Bash
#!/bin/sh
|
|
#
|
|
# @name Wing Wing (aka Z-84) Flying Wing
|
|
#
|
|
# @url https://docs.px4.io/master/en/frames_plane/wing_wing_z84.html
|
|
#
|
|
# @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 Lorenz Meier <lorenz@px4.io>
|
|
#
|
|
# @board px4_fmu-v2 exclude
|
|
# @board bitcraze_crazyflie exclude
|
|
#
|
|
|
|
. ${R}etc/init.d/rc.fw_defaults
|
|
|
|
param set-default BAT1_N_CELLS 2
|
|
param set-default FW_AIRSPD_MAX 15
|
|
param set-default FW_AIRSPD_TRIM 13
|
|
param set-default FW_R_TC 0.3
|
|
param set-default FW_P_TC 0.3
|
|
param set-default FW_L1_DAMPING 0.74
|
|
param set-default FW_L1_PERIOD 16
|
|
param set-default FW_LND_ANG 15
|
|
param set-default FW_LND_FLALT 5
|
|
param set-default FW_PR_FF 0.35
|
|
param set-default FW_RR_FF 0.6
|
|
param set-default FW_RR_P 0.04
|
|
|
|
param set-default PWM_MAIN_DISARM 1000
|
|
|
|
# Set mixer.
|
|
set MIXER fw_generic_wing
|
|
|
|
# Provide ESC a constant 1000 us pulse.
|
|
set PWM_OUT 4
|