mirror of
https://github.com/ArduPilot/ardupilot
synced 2025-03-11 17:13:56 -03:00
AP_Scripting: added INS filters to revert list
these may be changed in a tuning session
This commit is contained in:
parent
c858b7201d
commit
2cb1f9bbb9
@ -57,6 +57,8 @@ local PID_prefixes = { "_RAT_RLL_", "_RAT_PIT_", "_RAT_YAW_" }
|
||||
local PID_suffixes = { "FF", "P", "I", "D", "IMAX", "FLTD", "FLTE", "FLTT", "SMAX" }
|
||||
local angle_axes = { "RLL", "PIT", "YAW" }
|
||||
local PSC_types = { "ACCZ", "VELZ", "POSZ", "VELXY", "POSXY" }
|
||||
local OTHER_PARAMS = { "INS_GYRO_FILTER", "INS_ACCEL_FILTER" }
|
||||
|
||||
if PREV_ENABLE:get() == 0 then
|
||||
return
|
||||
end
|
||||
@ -103,6 +105,11 @@ for _, psc in ipairs(PSC_prefixes) do
|
||||
end
|
||||
end
|
||||
|
||||
-- add in other parameters
|
||||
for _, p in ipairs(OTHER_PARAMS) do
|
||||
add_param(p)
|
||||
end
|
||||
|
||||
|
||||
local function revert_parameters()
|
||||
local count = 0
|
||||
|
Loading…
Reference in New Issue
Block a user