mirror of https://github.com/ArduPilot/ardupilot
Tools: load FLTD from RLL_FLTD in FilterTool
This commit is contained in:
parent
864353aa4d
commit
7b8da9385d
|
@ -478,6 +478,19 @@ async function load_parameters(file) {
|
|||
}
|
||||
}
|
||||
}
|
||||
if (line.startsWith("ATC_RAT_RLL_FLTD") ||
|
||||
line.startsWith("Q_A_RAT_RLL_FLTD")) {
|
||||
var fvar = document.getElementById("FLTD");
|
||||
if (fvar) {
|
||||
v = line.split(/[\s,=\t]+/);
|
||||
if (v.length >= 2) {
|
||||
var vname = v[0];
|
||||
var value = v[1];
|
||||
fvar.value = value;
|
||||
console.log("set FLTD=" + value);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
fill_docs();
|
||||
calculate_filter();
|
||||
|
|
Loading…
Reference in New Issue