mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-01-18 06:38:29 -04:00
AP_SCripting: update VTOL QuickTune to allow YAW FLTE = 0
This commit is contained in:
parent
17a17a5955
commit
b0decff44f
@ -298,7 +298,7 @@ function setup_filters(axis)
|
|||||||
adjust_gain(fltd, INS_GYRO_FILTER:get() * FLTD_MUL)
|
adjust_gain(fltd, INS_GYRO_FILTER:get() * FLTD_MUL)
|
||||||
if axis == "YAW" then
|
if axis == "YAW" then
|
||||||
local FLTE = params[flte]
|
local FLTE = params[flte]
|
||||||
if FLTE:get() <= 0.0 or FLTE:get() > YAW_FLTE_MAX then
|
if FLTE:get() < 0.0 or FLTE:get() > YAW_FLTE_MAX then
|
||||||
adjust_gain(flte, YAW_FLTE_MAX)
|
adjust_gain(flte, YAW_FLTE_MAX)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
@ -121,6 +121,8 @@ Install the lua script in the APM/SCRIPTS directory on the flight
|
|||||||
controllers microSD card, then set SCR_ENABLE to 1. Reboot, and
|
controllers microSD card, then set SCR_ENABLE to 1. Reboot, and
|
||||||
refresh parameters. Then set QUIK_ENABLE to 1.
|
refresh parameters. Then set QUIK_ENABLE to 1.
|
||||||
|
|
||||||
|
IF vectored yaw ((tilt rotors) or TVBS tailsitter(motors on tilting servos), set Q_A_RAT_YAW_FLTE = 0 before running yaw tuning.
|
||||||
|
|
||||||
You will then need to setup a 3 position switch on an available RC
|
You will then need to setup a 3 position switch on an available RC
|
||||||
input channel for controlling the tune (or 2 position if you set
|
input channel for controlling the tune (or 2 position if you set
|
||||||
QUIK_AUTO_SAVE). If for example channel 6 is available with a 3
|
QUIK_AUTO_SAVE). If for example channel 6 is available with a 3
|
||||||
|
Loading…
Reference in New Issue
Block a user