Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AP_Scripting: raise max FLTE for yaw to 8 #24933

Merged
merged 1 commit into from Apr 1, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
2 changes: 1 addition & 1 deletion libraries/AP_Scripting/applets/VTOL-quicktune.lua
Expand Up @@ -172,7 +172,7 @@ local UPDATE_RATE_HZ = 40
local STAGE_DELAY = 4.0
local PILOT_INPUT_DELAY = 4.0

local YAW_FLTE_MAX = 2.0
local YAW_FLTE_MAX = 8.0
local FLTD_MUL = 0.5
local FLTT_MUL = 0.5

Expand Down
8 changes: 5 additions & 3 deletions libraries/AP_Scripting/applets/VTOL-quicktune.md
Expand Up @@ -151,11 +151,13 @@ With default settings the parameters to be tuned will be:
- YAW_D
- YAW_P

The script will also adjust filter settings using the following rules:
The script will also adjust filter settings using the following rules
if QUIK_AUTO_FILTER is set to 1 (which is the default):

- the FLTD and FLTT settings will be set to half of the INS_GYRO_FILTER value
- the YAW_FLTE filter will be set to a maximum of 2Hz
- if no SMAX is set for a rate controller than the SMAX will be set to 50Hz
- the YAW_FLTE filter will be set to a maximum of 8Hz

Additionally, if no SMAX is set for a rate controller than the SMAX will be set to 50Hz.
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

then


Once the tuning is finished you will see a "Tuning: done" message. You
can save the tune by moving the switch to the high position (Tune Save). You
Expand Down