mirror of
https://github.com/iNavFlight/inav-configurator.git
synced 2025-07-15 04:15:28 +03:00
Remove gyro_hardware_lpf from GUI
This commit is contained in:
parent
dde6b19daa
commit
bd5eb93bc9
3 changed files with 98 additions and 2 deletions
|
@ -201,6 +201,18 @@ helper.defaultsDialog = (function() {
|
||||||
"id": 3,
|
"id": 3,
|
||||||
"reboot": true,
|
"reboot": true,
|
||||||
"settings": [
|
"settings": [
|
||||||
|
{
|
||||||
|
key: "gyro_hardware_lpf",
|
||||||
|
value: "256HZ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_hz",
|
||||||
|
value: 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_type",
|
||||||
|
value: "BIQUAD"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "motor_pwm_protocol",
|
key: "motor_pwm_protocol",
|
||||||
value: "STANDARD"
|
value: "STANDARD"
|
||||||
|
@ -270,6 +282,18 @@ helper.defaultsDialog = (function() {
|
||||||
"notRecommended": false,
|
"notRecommended": false,
|
||||||
"reboot": true,
|
"reboot": true,
|
||||||
"settings": [
|
"settings": [
|
||||||
|
{
|
||||||
|
key: "gyro_hardware_lpf",
|
||||||
|
value: "256HZ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_hz",
|
||||||
|
value: 10
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_type",
|
||||||
|
value: "BIQUAD"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "motor_pwm_protocol",
|
key: "motor_pwm_protocol",
|
||||||
value: "STANDARD"
|
value: "STANDARD"
|
||||||
|
|
|
@ -1257,6 +1257,18 @@ presets.presets = [
|
||||||
presets.elementHelper("INAV_PID_CONFIG", "gyroscopeLpf", 1)
|
presets.elementHelper("INAV_PID_CONFIG", "gyroscopeLpf", 1)
|
||||||
],
|
],
|
||||||
settings: [
|
settings: [
|
||||||
|
{
|
||||||
|
key: "gyro_hardware_lpf",
|
||||||
|
value: "256HZ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_hz",
|
||||||
|
value: 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_type",
|
||||||
|
value: "BIQUAD"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "platform_type",
|
key: "platform_type",
|
||||||
value: "AIRPLANE"
|
value: "AIRPLANE"
|
||||||
|
@ -1289,6 +1301,18 @@ presets.presets = [
|
||||||
presets.elementHelper("INAV_PID_CONFIG", "gyroscopeLpf", 4)
|
presets.elementHelper("INAV_PID_CONFIG", "gyroscopeLpf", 4)
|
||||||
],
|
],
|
||||||
settings: [
|
settings: [
|
||||||
|
{
|
||||||
|
key: "gyro_hardware_lpf",
|
||||||
|
value: "256HZ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_hz",
|
||||||
|
value: 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_type",
|
||||||
|
value: "BIQUAD"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "platform_type",
|
key: "platform_type",
|
||||||
value: "AIRPLANE"
|
value: "AIRPLANE"
|
||||||
|
@ -1346,6 +1370,18 @@ presets.presets = [
|
||||||
presets.elementHelper("RC_tuning", "dynamic_THR_breakpoint", 1600)
|
presets.elementHelper("RC_tuning", "dynamic_THR_breakpoint", 1600)
|
||||||
],
|
],
|
||||||
settings: [
|
settings: [
|
||||||
|
{
|
||||||
|
key: "gyro_hardware_lpf",
|
||||||
|
value: "256HZ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_hz",
|
||||||
|
value: 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_type",
|
||||||
|
value: "BIQUAD"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "platform_type",
|
key: "platform_type",
|
||||||
value: "AIRPLANE"
|
value: "AIRPLANE"
|
||||||
|
@ -1403,6 +1439,18 @@ presets.presets = [
|
||||||
presets.elementHelper("RC_tuning", "dynamic_THR_breakpoint", 1550)
|
presets.elementHelper("RC_tuning", "dynamic_THR_breakpoint", 1550)
|
||||||
],
|
],
|
||||||
settings: [
|
settings: [
|
||||||
|
{
|
||||||
|
key: "gyro_hardware_lpf",
|
||||||
|
value: "256HZ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_hz",
|
||||||
|
value: 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_type",
|
||||||
|
value: "BIQUAD"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "platform_type",
|
key: "platform_type",
|
||||||
value: "AIRPLANE"
|
value: "AIRPLANE"
|
||||||
|
@ -1460,6 +1508,18 @@ presets.presets = [
|
||||||
presets.elementHelper("RC_tuning", "dynamic_THR_breakpoint", 1500)
|
presets.elementHelper("RC_tuning", "dynamic_THR_breakpoint", 1500)
|
||||||
],
|
],
|
||||||
settings: [
|
settings: [
|
||||||
|
{
|
||||||
|
key: "gyro_hardware_lpf",
|
||||||
|
value: "256HZ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_hz",
|
||||||
|
value: 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_type",
|
||||||
|
value: "BIQUAD"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "platform_type",
|
key: "platform_type",
|
||||||
value: "AIRPLANE"
|
value: "AIRPLANE"
|
||||||
|
@ -1519,6 +1579,18 @@ presets.presets = [
|
||||||
presets.elementHelper("RC_tuning", "pitch_rate", 120)
|
presets.elementHelper("RC_tuning", "pitch_rate", 120)
|
||||||
],
|
],
|
||||||
settings: [
|
settings: [
|
||||||
|
{
|
||||||
|
key: "gyro_hardware_lpf",
|
||||||
|
value: "256HZ"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_hz",
|
||||||
|
value: 40
|
||||||
|
},
|
||||||
|
{
|
||||||
|
key: "gyro_lpf_type",
|
||||||
|
value: "BIQUAD"
|
||||||
|
},
|
||||||
{
|
{
|
||||||
key: "platform_type",
|
key: "platform_type",
|
||||||
value: "AIRPLANE"
|
value: "AIRPLANE"
|
||||||
|
|
|
@ -12,8 +12,8 @@
|
||||||
<div class="spacer_box_title" data-i18n="configurationSystem"></div>
|
<div class="spacer_box_title" data-i18n="configurationSystem"></div>
|
||||||
</div>
|
</div>
|
||||||
<div class="spacer_box">
|
<div class="spacer_box">
|
||||||
<div id="gyrolpf-info" class="info-box"></div>
|
<div id="gyrolpf-info" class="info-box is-hidden"></div>
|
||||||
<div class="select">
|
<div class="select is-hidden">
|
||||||
<select id="gyro-lpf"></select>
|
<select id="gyro-lpf"></select>
|
||||||
<label for="gyro-lpf"> <span data-i18n="configurationGyroLpfTitle"></span></label>
|
<label for="gyro-lpf"> <span data-i18n="configurationGyroLpfTitle"></span></label>
|
||||||
<div class="helpicon cf_tip" data-i18n_title="configurationGyroLpfHelp"></div>
|
<div class="helpicon cf_tip" data-i18n_title="configurationGyroLpfHelp"></div>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue