From 684dfdb785008fcc99db010b5af340ce7f431a38 Mon Sep 17 00:00:00 2001 From: Darren Lines Date: Tue, 24 Nov 2020 21:39:11 +0000 Subject: [PATCH 1/5] Update osd.js Add OSD element to Configurator --- tabs/osd.js | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/tabs/osd.js b/tabs/osd.js index fa555774..3dab6d4e 100644 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -772,6 +772,11 @@ OSD.constants = { id: 106, min_version: '2.3.0', preview: FONT.symbol(SYM.RPM) + '983', + }, + { + name: 'VERSION', + id: 119, + preview: 'INAV: 2.7.0' } ] }, From 1bd4b6945549c3bd99c2cb0b32e460a85abd2fc1 Mon Sep 17 00:00:00 2001 From: Darren Lines Date: Wed, 25 Nov 2020 18:08:00 +0000 Subject: [PATCH 2/5] Add Version to OSD --- tabs/osd.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tabs/osd.js b/tabs/osd.js index 3dab6d4e..45e69085 100644 --- a/tabs/osd.js +++ b/tabs/osd.js @@ -776,7 +776,7 @@ OSD.constants = { { name: 'VERSION', id: 119, - preview: 'INAV: 2.7.0' + preview: 'INAV 2.7.0' } ] }, From 2dcc1cb8916c60fac974675a833dae1af54692c9 Mon Sep 17 00:00:00 2001 From: "Pawel Spychalski (DzikuVx)" Date: Sun, 6 Dec 2020 20:43:16 +0100 Subject: [PATCH 3/5] Version bump to 2.7 --- js/data_storage.js | 4 ++-- manifest.json | 2 +- package.json | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/js/data_storage.js b/js/data_storage.js index cd61cd60..e4cf3819 100755 --- a/js/data_storage.js +++ b/js/data_storage.js @@ -2,8 +2,8 @@ var CONFIGURATOR = { // all versions are specified and compared using semantic versioning http://semver.org/ - 'minfirmwareVersionAccepted': '2.5.0', - 'maxFirmwareVersionAccepted': '2.7.0', // Condition is < (lt) so we accept all in 2.2 branch, not 2.3 actualy + 'minfirmwareVersionAccepted': '2.6.0', + 'maxFirmwareVersionAccepted': '2.8.0', // Condition is < (lt) so we accept all in 2.2 branch, not 2.3 actualy 'connectionValid': false, 'connectionValidCliOnly': false, 'cliActive': false, diff --git a/manifest.json b/manifest.json index 0cfe2fc4..69c1bd6e 100644 --- a/manifest.json +++ b/manifest.json @@ -1,7 +1,7 @@ { "manifest_version": 2, "minimum_chrome_version": "38", - "version": "2.6.0", + "version": "2.7.0", "author": "Several", "name": "INAV - Configurator", "short_name": "INAV", diff --git a/package.json b/package.json index 761d892d..5ef30fc2 100755 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "inav-configurator", "description": "INAV Configurator", - "version": "2.6.0", + "version": "2.7.0", "main": "main.html", "default_locale": "en", "scripts": { From bd5eb93bc991e24f09dc75b8da733cccd00be102 Mon Sep 17 00:00:00 2001 From: "Pawel Spychalski (DzikuVx)" Date: Fri, 18 Dec 2020 14:06:05 +0100 Subject: [PATCH 4/5] Remove gyro_hardware_lpf from GUI --- js/defaults_dialog.js | 24 ++++++++++++++ js/preset_definitions.js | 72 ++++++++++++++++++++++++++++++++++++++++ tabs/configuration.html | 4 +-- 3 files changed, 98 insertions(+), 2 deletions(-) diff --git a/js/defaults_dialog.js b/js/defaults_dialog.js index a680c48c..5d2770ba 100644 --- a/js/defaults_dialog.js +++ b/js/defaults_dialog.js @@ -201,6 +201,18 @@ helper.defaultsDialog = (function() { "id": 3, "reboot": true, "settings": [ + { + key: "gyro_hardware_lpf", + value: "256HZ" + }, + { + key: "gyro_lpf_hz", + value: 40 + }, + { + key: "gyro_lpf_type", + value: "BIQUAD" + }, { key: "motor_pwm_protocol", value: "STANDARD" @@ -270,6 +282,18 @@ helper.defaultsDialog = (function() { "notRecommended": false, "reboot": true, "settings": [ + { + key: "gyro_hardware_lpf", + value: "256HZ" + }, + { + key: "gyro_lpf_hz", + value: 10 + }, + { + key: "gyro_lpf_type", + value: "BIQUAD" + }, { key: "motor_pwm_protocol", value: "STANDARD" diff --git a/js/preset_definitions.js b/js/preset_definitions.js index 0154fa86..a93d0af7 100644 --- a/js/preset_definitions.js +++ b/js/preset_definitions.js @@ -1257,6 +1257,18 @@ presets.presets = [ presets.elementHelper("INAV_PID_CONFIG", "gyroscopeLpf", 1) ], settings: [ + { + key: "gyro_hardware_lpf", + value: "256HZ" + }, + { + key: "gyro_lpf_hz", + value: 40 + }, + { + key: "gyro_lpf_type", + value: "BIQUAD" + }, { key: "platform_type", value: "AIRPLANE" @@ -1289,6 +1301,18 @@ presets.presets = [ presets.elementHelper("INAV_PID_CONFIG", "gyroscopeLpf", 4) ], settings: [ + { + key: "gyro_hardware_lpf", + value: "256HZ" + }, + { + key: "gyro_lpf_hz", + value: 40 + }, + { + key: "gyro_lpf_type", + value: "BIQUAD" + }, { key: "platform_type", value: "AIRPLANE" @@ -1346,6 +1370,18 @@ presets.presets = [ presets.elementHelper("RC_tuning", "dynamic_THR_breakpoint", 1600) ], settings: [ + { + key: "gyro_hardware_lpf", + value: "256HZ" + }, + { + key: "gyro_lpf_hz", + value: 40 + }, + { + key: "gyro_lpf_type", + value: "BIQUAD" + }, { key: "platform_type", value: "AIRPLANE" @@ -1403,6 +1439,18 @@ presets.presets = [ presets.elementHelper("RC_tuning", "dynamic_THR_breakpoint", 1550) ], settings: [ + { + key: "gyro_hardware_lpf", + value: "256HZ" + }, + { + key: "gyro_lpf_hz", + value: 40 + }, + { + key: "gyro_lpf_type", + value: "BIQUAD" + }, { key: "platform_type", value: "AIRPLANE" @@ -1460,6 +1508,18 @@ presets.presets = [ presets.elementHelper("RC_tuning", "dynamic_THR_breakpoint", 1500) ], settings: [ + { + key: "gyro_hardware_lpf", + value: "256HZ" + }, + { + key: "gyro_lpf_hz", + value: 40 + }, + { + key: "gyro_lpf_type", + value: "BIQUAD" + }, { key: "platform_type", value: "AIRPLANE" @@ -1519,6 +1579,18 @@ presets.presets = [ presets.elementHelper("RC_tuning", "pitch_rate", 120) ], settings: [ + { + key: "gyro_hardware_lpf", + value: "256HZ" + }, + { + key: "gyro_lpf_hz", + value: 40 + }, + { + key: "gyro_lpf_type", + value: "BIQUAD" + }, { key: "platform_type", value: "AIRPLANE" diff --git a/tabs/configuration.html b/tabs/configuration.html index 83a5e817..29eec03f 100644 --- a/tabs/configuration.html +++ b/tabs/configuration.html @@ -12,8 +12,8 @@
-
-
+ +